Keyboard shortcuts I often use in Xcode.
-
Command Shift O : open quickly (jump to file).
-
Control I : auto-indent selected code.
-
Control M : format objects into multiple lines. Useful for function signatures or hierarchical data structures.
-
Control 6 : search your methods and symbols.
-
Command 0 : show/hide file navigator.
-
Command / : comment selected code.
-
Command Option Enter : show/hide live preview.
-
Command Option P: refresh live preview.
-
Command Option [ : move a line up.
-
Command Option ] : move a line down.