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
| Shortcut | Description |
|---|---|
| Ctrl + 6 | Open jump menu to quickly jump between functions etc. |
| Cmd + A > Ctrl + I | Pretty print code in current editor window |
| Alt + Click | Open help for part of code (method etc.) |
Useful settings
| Setting | Description |
|---|---|
| Open each file in a new tab | Settings > Navigation > Pin Editor Tabs > When Tab Is Created |
How to’s
| Problem | Solution |
|---|---|
| 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 guidelines | Docs |