I summarize some of the Xcode shortcut keys, I hope to help you.
1. File
cmd + N: New file
cmd + SHIFT + N: New Item
CMD + O : Open
cmd + S: Save
Cmd + SHIFT + S: Save as
cmd + W: Close window
cmd + SHIFT + W: Close file
2. Edit
cmd + [: Left indent
cmd +]: Right indent
cmd + Ctrl + Left: Collapse
CMD + Ctrl + Right: Cancel collapse
cmd + CTRL + TOP: Collapse all functions
cmd + CTRL + BOTTOM: Cancel all functions collapse
CTRL + U: Cancel all collapse
cmd + D: Add bookmark
cmd +/: Comment or uncomment
CTRL +.: Parameter hint
ESC: Auto Prompt column Table
3. Debug
cmd + \: Set or Cancel breakpoints
cmd + opt + \: Allow or disable current breakpoint
cmd + OPT + B: View all Breakpoints
cmd + RETURN: Compile and run (determines whether breakpoints are enabled according to Settings)
cmd + R: Compile and run (without triggering breakpoints)
CMD + Y: Compile and debug (trigger breakpoint)
CMD + SHIFT + RETURN: Terminate run or debug
cmd + B: Compile
cmd + SHIFT + K: Cleanup
4. Form
cmd + SHIFT + B: Compile window
cmd + SHIFT + Y: Debug code Window
CMD + SHIFT + R: Debug console
cmd + SHIFT + E: main edit window Adjustment
5. Help
cmd + OPT +?: Development manual
cmd + CTRL +? : Quick help
----------------------------------------------------------------------------------------------------have some shortcut keys
Command + Shift + E: Extended Editor
Command + [: Move code block left
Command +]: Move code block right
Tab: Accept Code hints
ESC: Show Code hints menu
Ctrl +. (period): Loop through code hints
Shift + Ctrl +. (period): Reverse looping through code hints
Ctrl +/: Move to the next placeholder in the code hint
Command + Ctrl + S: Create snapshot
Ctrl + F: Move forward cursor
Ctrl + B: Move the cursor back
Ctrl + P: Move the cursor to the previous line
Ctrl + N: Move the cursor to the next line
Ctrl + A: Move the cursor to the beginning of the bank
Ctrl + E: Move the cursor to the end of our line--Yang over note: These two are too useful, just started with Xcode, has been strange why home and end keys can not directly locate the beginning, line end?
Ctrl + T: Swap the characters on the left and right side of the cursor
Ctrl + D: Remove the character to the right of the cursor
Ctrl + K: Delete Bank
Ctrl + L: Places the insertion point in the middle of the window
Command + Alt + D: Show open quickly window
Command + ALT + UP ARROW key: Open the companion file
Command + D: Add Bookmark
Option + Double-click: Search in document
Command + Y: Run the program in debug mode
Command + Alt + P: Continue (in debugging)
Command + Alt + 0: Skip
Command + Alt + I: Jump in
Command + Alt + T: Jump out
Xcode shortcut keys