Member-only story

Top Xcode Shortcuts

Spencer Belton
1 min readMay 2, 2021

--

Learning to maximize the tools you have at your disposal is crucial to advancing to the next level. A combination of keys can save you seconds. The shortcuts menu in Xcode can be found in Xcode -> Preferences (or cmd,) -> Key Bindings. Here, you can adjust existing shortcuts and even create your own. Here is a list of the top shortcuts I use that speed up my coding process exponentially.

  1. ⌘R (cmd R)used to run your project in simulator
  2. ⌘⇧K (cmd shift K)used to clear the build folder
  3. ⌘Z (cmd Z)Undo
  4. ⌘⇧Z (cmd shift Z) redo
  5. ⌥⌘[ (option cmd leftBracket)used to move selected code one line down
  6. ⌥⌘] (option cmd rightBracket) used to move selected code one line up
  7. ⌥← (option left arrow)used to move one word left
  8. ⌥→ (option right arrow) used to move one word right
  9. ⇧⌘L (shift cmd L)used to open object library in storyboard
  10. ⌘A (cmd A) used to select all
  11. ⌃I (ctrl I) used to re-indent selected code
  12. ⇧⌘↩ (shift cmd enter)run the playground

--

--

Spencer Belton
Spencer Belton

Written by Spencer Belton

0 Followers

iOS App Developer

No responses yet

Write a response