Xcode

XCode Shortcuts

  • Ctrl + I redindent selection

  • ⌥ + Click documenation

  • ⌘ + 0 show/hide navigation

  • ⌘ + ⌥ + 0 show/hide inspector

  • ⌘ + ⌥ + ← collapse method

  • ⌘ + ⌥ + → uncollapse method

  • Ctrl + Shift + Click add a new cursor

  • Ctrl + Shift + up/down add a new cursor above/below

  • ⌥ + drag add a new cursor with drag

  • Esc exit multicursor mode

  • ⌘+⌥+E next occurence of selection

  • ⌘+⌥+⇧+E previous occurence of selection

  • ⌘+⌥+G find and select next

  • ⌘+⌥+⇧+G find and select previous

  • Ctrl+⌘+E edit all in scope

Shortcuts for SwiftUI

  • ⌘+⇧+L Swift UI Library

  • ⌘+Click in preview

  • ⌘+Click in code

  • Cmd

  • Option / Alt

  • Shift