Xcode

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

Editing

CMD+OPTION+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+OPTION+[

Move line up

CMD+OPTION+]

Move line down

Search

CMD+F

Find in file

CMD+OPTION+F

Find and replace in file

CMD+SHIFT+F

Find in project

CMD+OPTION+SHIFT+F

Find and replace in project

Navigator

OPTION+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+OPTION+?

Show documentation

OPTION+Click

CMD+CTRL+?

Show quick help for symbol

OPTION+Double Click

CMD+CTRL+OPTION+/

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+OPTION+0

Show or hide

CMD+OPTION+1

File inspector

CMD+OPTION+2

Quick help inspector

CMD+OPTION+3

Identity inspector

CMD+OPTION+4

Attributes inspector

CMD+OPTION+5

Size inspector

CMD+OPTION+6

Connections inspector

CMD+CTRL+OPTION+1

File template library

CMD+CTRL+OPTION+2

Code snippet library

CMD+CTRL+OPTION+3

Object library

CMD+CTRL+OPTION+4

Media library