Xcode Shortcuts, Tipps and Tricks

This is an ongoing collection of Xcode shortcuts and tips I gather while using the IDE.

Flo

Here are some of my most used shortcuts in Xcode. This also acts as a cheat sheet for myself.

Shortcuts

ShortcutDescription
Ctrl + 6Open jump menu to quickly jump between functions etc.
Cmd + A > Ctrl + IPretty print code in current editor window
Alt + ClickOpen help for part of code (method etc.)

Useful settings

SettingDescription
Open each file in a new tabSettings > Navigation > Pin Editor Tabs > When Tab Is Created

How to’s

ProblemSolution
How to get a split-view with the simulator in Xcode?1. Start simulator

2. Focus the simulator

3. Window > Full Screen Tile

4. This creates a split view of Xcode and the simulator
Where to see all available SwiftUI elements?Visit the documentation
Components interface guidelinesDocs