Is there a way to jump to a specific method in Xcode?

I think this is what you’re looking for:

Type ctrl6 to activate the “Show Document Items” in the “Jump Bar”. Then start typing part of the method you are looking for to narrow the results.

Example:

To jump straight to - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath

Type ctrl6, type “cellFor”, arrow down so the method is highlighted, and press Enter. The Editor will jump right to that method.

Incidentally, you can use ctrl1, ctrl2, ctrl3, etc. to access the different sections of the “Jump Bar”.

Leave a Comment