Does Xcode Has Keyboard ShortCut for going back and forth in programming?

In xcode you can go back and forth in your program by swiping the mouse.

Is there an additional keyboard shortcut for that?

In visual studio 2010, for example, you do so by Ctrl - and Ctrl Shift -

How do you that in xcode with the keyboard?


Solution 1:

Yes. The keys in Visual Studio 2010 that you refer to (for others that are unaware) are known as "Navigate Backward" and "Navigate Forward" and work as described in the the following Microsoft Blog allowing you to quickly move back and forward between places you’ve already been in your code, via a "Jump to Definiton" in Xcode, for example.

The equivalent keyboard shortcuts in Xcode 4 are:

Navigate Backward:

Ctrl + + Left Cursor

Navigate Forward:

Ctrl + + Right Cursor