Thursday, May 7, 2009

XCode Tips & Tricks

alt-?-up
Switch between .m and .h file

Cmd-/
Automatically inserts "//" for comments.

#pragma mark Foo
Organize methods in your source files

#pragma mark -
Display a menu separator

Ctrl+Left/Right Arrow
Intra-word text navigation

⌘-[ and ⌘-]
Indent and unindent selected text.

Double-click on the square brackets
Obtains bracket and parentheses matching

Ctrl-alt-⌘ r
Clear the log

Shift-Cmd-c
Reduce the scope to only show your active project.

No comments:

Post a Comment