I have been developing IOS for more than a year. I found that the Xcode shortcut is not familiar with it. Otherwise, it really affects work efficiency!
1. File
CMD + N: New File
CMD + SHIFT + N: new project
CMD + O: Open
CMD + S: Save
CMD + SHIFT + S: Save
CMD + W: Close the window
CMD + SHIFT + W: Close the file
2. Edit
CMD + [: Left indent
CMD +]: Right indent
CMD + CTRL + LEFT: Fold
CMD + CTRL + RIGHT: unhide
CMD + CTRL + TOP: collapse all functions
CMD + CTRL + BOTTOM: cancel all function folding
CTRL + U: cancel all collapse
CMD + D: Add bookmarks
CMD +/: comment or cancel the comment
CTRL +.: parameter prompt
ESC: Automatic prompt list
3. debugging
CMD + \: set or cancel a breakpoint
CMD + OPT + \: Allows or disables the current breakpoint
CMD + OPT + B: View All Breakpoints
CMD + RETURN: Compile and run (determine whether to enable breakpoint Based on settings)
CMD + R: Compile and run (do not trigger breakpoint)
CMD + Y: Compile and debug (trigger breakpoint)
CMD + SHIFT + RETURN: stops running or debugging
CMD + B: Compile
CMD + SHIFT + K: Clear
4. Form
CMD + SHIFT + B: compilation window
CMD + SHIFT + Y: debugging code window
CMD + SHIFT + R: Debugging Console
CMD + SHIFT + E: Adjust the main editing window
5. Help
CMD + OPT +? : Development Manual
CMD + CTRL +? : Quick help
The following are some useful shortcut keys (