New project COM + shift +n
New file COM + N
Preferences Universal COM +,
Jumps to the specified line COM + L
Current Line plus breakpoint COM + \
Move the top of the editing area on COM +
Mobile editing area at the bottom of COM + below
Move cursor in line leftmost COM + left
Move the rightmost COM + right of the cursor
Skip forward/back one word option + left & Right
Delete a Word forward option + DELETE
Delete all characters following the line of the cursor control + K
Switch between open files COM + option + left & Right
Switch between the. h. m of the current file COM + control + up & down
Code layout Control + I or COM + X and COM + V
Check Current line COM + SHIFT + left & Right
Uncheck Left & Right
Select local variable for current scope COM +control + E
Navigation Zone switch COM +1,.... 8
Component Area switch COM + OPTION + 1 ... 5
Close or open the left navigation area COM + 0
Close or open the Component property area on the right side COM + OPTION + 0
Debug Zone view open close COM + SHIFT + Y
Cleaning the console COM + K
Open the console window COM + SHIFT + C
Globally activates or disables breakpoints for COM + Y
Xcode Full Screen COM + control + F
Run program COM + R
Stop the program COM +.
Compile the program COM + B
Static analysis COM + SHIFT + B
Open Standard Editor COM + carriage return (enter)
Open Assistant Edit area COM + OPTION + ENTER (enter)
Hit version editor view COM + OPTION + SHIFT + ENTER
Key instructions (win keyboard)
Control = Ctrl
Command = Alt
option = Win key
Shift = Shift
Shortcut keys
1. ESC auto-complete, similar to the ctrl+j in VS, like Eclipse's alt+/
2. Command +/Comment Code and Counter-comment, with//, equivalent to Eclipse's ctrl+/
3. Control + COMMAND + up/down arrows to quickly switch between the header file (. h) and the implementation file (. m)
4. Command + B to compile the program, do not run
5. Command + R to compile and run the program
6. Command + SHIFT + B to parse the code to find potential memory overflow issues
7. Command + click Jump to declaration
8. Option + click the pop-up layer to display Help information
9. Option + COMMAND + Left/right ARROW key, Collapse/open current method
CONTROL + COMMAND + F Xcode fullscreen, supported on Lion
Command + shit + y Open/close console window
Control + K Cleanup console
CONTROL + COMMAND + Left/right ARROW key, toggle in history/Next file
tab accepts the current auto-completion
15. Double-click Brackets or curly braces to select the enclosing block of statements
Command-shift-o: Quick Search Open File
The control Mate 1/2/3/4/5/6 key: You can quickly open the relevant file/class or code, I often control+1 display open files, control+6 display the current class of variables or methods, can be entered to filter
Command mate 1/2/3/4/5/6/7 to display the child view of each label in the left navigation, commandco+ 0 turn left navigation on or off
OPTION + command with 1/2/3/4/5/6 opens each tab view of the Right property window in turn, especially in xib, with OPTION + COMMAND + 0 to close the right property window
Command + SHIFT + J to locate the currently open file in the left navigation
Command + return switch to Standard editor
OPTION + COMMAND + RETURN switch to the auxiliary editor, left and right can be compared, especially convenient to edit xib when dragging associated
Command+shift+f Search
F7 commissioning Step into
F6 Commissioning Step over
F8. Step out during commissioning
Control + COMMAND + Y:debug breakpoint when continue
Command + \: Current line set/Cancel Breakpoint
Command + y globally activates or disables all breakpoints
Command+ Left/Right ARROW key jumps to beginning/end of line
Option + Left/RIGHT ARROW key forward/backward jump one word
OPTION + DELETE forward Delete a word
Ctrl + K Deletes the character that follows the line of the cursor;
Here are a few temporary collections
Control +. : Next auto-complete prompt
Command + E: Find with current selection
Command + G: Find the next in the current file
command-+ SHIFT + F: Find in Project
Command + OPTION + Shift +t: Navigate to the currently edited file in Groups&files
control+ A: Cursor jumps to the beginning of the line
Control +e: The cursor jumps to the end of the line
command+ g: Search down
Command+shift+g: Look up
Common shortcut keys in Xcode