Hidden Features of Xcode
Switch to Header/Source File
Option ⌥ Command ⌘ Up Arrow ↑
View > Switch to Header/Source File
Switches between the .m
and .h
files.
- In Xcode 4 this is ctrl Command ⌘ Up Arrow ↑
⌘ Command + Double-Click on a symbol
: Jump to Definition of a symbol.
⌥ Option + Double-Click on a symbol
: Find Text in Documentation of a symbol. (Only works if you have they symbol's Doc Set installed.)
Favorites Bar:
Favorites bar is just like you have in Safari for storing - well - favorites. I often use it as a place to store shortcuts (which you can do by drag-dropping) to files I am using right now. Generally this is more useful when I'm working with a large or unfamiliar project.
To show the Favorites Bar, select the following menu option:
View
>Layout
>Show Favorites Bar
Auto-completion Keyboard Shortcuts
Tab ⇥ OR Control ⌃ /: Select the next auto-completion argument.
Shift ⇧ Tab ⇥ OR Shift ⇧ Control ⌃ /: Select the previous auto-completion argument.
Escape ⎋: Shows the auto completion pop-up list.