Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I navigate backwards in Xcode?

In Visual Studio I can navigate backwards by pressing Ctrl + -. This is very useful when checking out the definition of a function and then immediately going back to the code I was working on.

How can I do this in Xcode? (I'm using version 3.1.2)

like image 341
MrDatabase Avatar asked Jun 19 '09 03:06

MrDatabase


3 Answers

In Xcode 13.0.0 you can use: (OS: Mac 11.6)

Control + Command + or

Hope this help!

like image 187
Nhat Dinh Avatar answered Oct 20 '22 19:10

Nhat Dinh


* Writing this if people using Xcode 4 need the answer for their versions:

In Xcode 4 preferences, it's configured to be ^ + + (control-command-left arrow) to navigate back and ^ + + (control-command-right arrow) to navigate forwards.

like image 11
aslisabanci Avatar answered Nov 03 '22 11:11

aslisabanci


Xcode 3.1.x is admittedly a bit weak in this respect. Happily, the navigation @zoul mentions (The back/forward arrows in the header bar, or ⌘⌥← and ⌘⌥→) is significantly improved in Snow Leopard, and should provide the finer-grained navigation you're hoping for. Sorry there's not an immediate solution, but hopefully it helps to know that a fix is coming...

like image 6
Quinn Taylor Avatar answered Nov 03 '22 13:11

Quinn Taylor