Common shortcuts for Xcode and xcode
New
Shift + cmd + n create a project
Cmd + n create a file
Code prompt
Esc
View
Option + cmd + press enter to open the assistant editor
Cmd + press enter to display the Main Window
Cmd + 0 navigation window
Option + cmd + 0 tool window
Cmd + shift + 0 help document
Switch control + cmd + up/down between. m &. h
Switch between control + cmd + left and right according to the browsing order of Files
View header file control + cmd + j
Switch to the corresponding function control + 6 and support Intelligent Input. Note the input method.
Run
Cmd + r run
Cmd +. Stop
Cmd + B Compilation
Cmd + shift + B static memory analysis and compilation to check whether memory leakage exists in the program structure
Typographical
Control + I indent the selected button again
Cmd +] add indentation to the right
Cmd + [reduce indentation to the left
Cmd +/comment/cancel comments. Note: When the comments are canceled, the comment must start with a double slash.
Cmd + up to the starting position of the file
Cmd + down to the end of the file