Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.11 KB

xcode-shortcuts.md

File metadata and controls

30 lines (21 loc) · 1.11 KB

Xcode default keyboard shortcuts

Useful keyboard shortcuts for Xcode IDE for everyday usage

Navigationing

  • Ctrl+1...6 - switching in files catalog and methods(under editing window)
  • Cmd+Shift+J/Cmd+J - switching focus between navigator panel(left panel) and editing window
  • Cmd+0 - show/hide navigator panel
  • Cmd+Option+J - files searching in the navigator panel
  • Cmd+Option+0 - show/hide current file inspector(right panel)
  • Cmd+Option+Enter/Cmd+Enter - show/hide assistent at right(class interfaces etc)
  • Cmd+Shift+Y - show/hide debug console
  • Ctrl+Cmd+Shift+/ - show context documentation, analog Option+Click
  • Ctrl+Cmd+J - jump to method definition

Editing

  • Cmd+Ctrl+E - context editing variable names, function names (cursor should be on it).

Debugging

  • Cmd+\ - set/unset breakpoint
  • Ctrl+Cmd+Y - skip the breakpoint which the pointer is going on

Simulator

  • Cmd+Shift+H - simulate pressing Home button

TEST

  • ^ ⌥ ⌘ U - run single test under cursor