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?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityYes. 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
Are you talking about ⌘-tab? This switches you between applications. It is similar to alt-tab in Windows. You can also press ⌘-` to switch between windows in the same application.
I was searching for this for so long time and what works for me is:
⌃ + 2 (Ctrl + 2 - Shows previous history) then click ↓ - this will jump back to previous definition
⌃ + 3 (Ctrl + 3 - Shows next history) then click ↓ - this will jump to next definition
This will only work if you navigate through your class using ⌃ + 6 to jump between definitions.