Xcode

Enjoy this cheat sheet at its fullest within Dash, the macOS documentation browser.

Editing

CMD+ALT+Return

Show assistant editor

CMD+Return

Hide assistant editor

CTRL+Space

Toggle completion

Esc

Toggle auto completion

CMD+CTRL+E

Edit all in scope

CMD+]

Increase indentation

CMD+[

Decrease indentation

CTRL+I

Fix indentation

CMD+/

Comment or uncomment

CMD+ALT+[

Move line up

CMD+ALT+]

Move line down

Search

CMD+F

Find in file

CMD+ALT+F

Find and replace in file

CMD+SHIFT+F

Find in project

CMD+ALT+SHIFT+F

Find and replace in project

Navigator

ALT+SHIFT+Click

Decide where to open

Debugging

CMD+SHIFT+Y

Toggle debug area

CMD+'

Next issue

CMD+"

Previous issue

CMD+\

Add breakpoint

CMD+Y

Toggle breakpoints

CMD+K

Clear console

Documentation

CMD+ALT+?

Show documentation

ALT+Click

CMD+CTRL+?

Show quick help for symbol

ALT+Double Click

CMD+CTRL+ALT+/

Show documentation for symbol

Build & Run

CMD+B

Build

CMD+R

Run

CMD+.

Stop

CMD+SHIFT+B

Analyze

CMD+I

Profile

CMD+U

Test

CMD+SHIFT+K

Clean

Utilities

CMD+ALT+0

Show or hide

CMD+ALT+1

File inspector

CMD+ALT+2

Quick help inspector

CMD+ALT+3

Identity inspector

CMD+ALT+4

Attributes inspector

CMD+ALT+5

Size inspector

CMD+ALT+6

Connections inspector

CMD+CTRL+ALT+1

File template library

CMD+CTRL+ALT+2

Code snippet library

CMD+CTRL+ALT+3

Object library

CMD+CTRL+ALT+4

Media library