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.) |
| Cmd + Shift + L | Open Xcode library to e.g. see all SF icons |
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 |
You Might Also Like
How To Fix iOS Shortcuts App Completely Frozen
This article explains how to fix the iOS shortcuts app via the Mac when it’s completely frozen and nothing works at all.
#shortcuts
#apple
Ctrl+V: Stuff Worth Sharing #005
This week's episode of SWS contains a Book Overflow podcast episode about the essay The Twelve-Factor App, the benefits of start dates in to-do applications, a link to the Apple developer resources and a short introduction to the book I'm currently reading.
#apple
SWS Snippet #0040: 9 years of Apple text editor solo dev by Mihhail Lapushkin
This great post by Mihhail Lapushkin describes his journey of creating paper, a minimalist writing app for iOS and macOS.
#apple