APPS
XCODE SHORTCUTS. MASTER YOUR WORKFLOW.
Essential Xcode keyboard shortcuts for faster iOS development and intuitive navigation
SPEED IS EVERYTHING. MEMORIZE THESE.
⚡ Essential Navigation & Building
| Shortcut | Action | Category |
|---|---|---|
| ⌘ + R | Build and Run | Build |
| ⌘ + B | Build | Build |
| ⌘ + Shift + K | Clean Build Folder | Build |
| ⌘ + U | Test | Build |
| ⌘ + Shift + U | Build for Testing | Build |
| ⌘ + Shift + L | Open Library (SF Symbols) | Interface |
| ⌘ + Shift + O | Open Quickly | Navigation |
| ⌘ + Shift + J | Reveal in Navigator | Navigation |
| ⌘ + Ctrl + Up | Switch Between Header/Implementation | Navigation |
| ⌘ + Ctrl + ←/→ | Navigate Back/Forward | Navigation |
🧭 Navigation & File Management
| Shortcut | Action | Notes |
|---|---|---|
| ⌘ + 1-9 | Show Navigator (1=Project, 2=Source Control, etc) | Toggle panels |
| ⌘ + 0 | Show/Hide Navigator | Toggle left panel |
| ⌘ + Option + 0 | Show/Hide Inspector | Toggle right panel |
| ⌘ + Shift + Y | Show/Hide Debug Area | Bottom panel |
| ⌘ + T | New Tab | Tab management |
| ⌘ + W | Close Tab | Tab management |
| ⌘ + Shift + [ | Previous Tab | Tab navigation |
| ⌘ + Shift + ] | Next Tab | Tab navigation |
| ⌘ + Ctrl + T | New Window | Window management |
| ⌘ + ` | Cycle Through Windows | Window management |
✏️ Code Editing & Refactoring
| Shortcut | Action | Usage |
|---|---|---|
| ⌘ + D | Duplicate Line/Selection | Quick duplication |
| ⌘ + / | Comment/Uncomment | Toggle comments |
| ⌘ + Option + / | Block Comment | Multi-line comments |
| ⌘ + ] | Increase Indent | Code formatting |
| ⌘ + [ | Decrease Indent | Code formatting |
| Ctrl + I | Re-Indent Selection | Auto-format |
| ⌘ + Option + [ | Move Line Up | Code organization |
| ⌘ + Option + ] | Move Line Down | Code organization |
| ⌘ + Shift + A | Add Documentation Comment | Documentation |
| ⌘ + Ctrl + E | Edit All in Scope | Rename variables |
🔍 Search & Find
| Shortcut | Action | Scope |
|---|---|---|
| ⌘ + F | Find | Current file |
| ⌘ + G | Find Next | Current file |
| ⌘ + Shift + G | Find Previous | Current file |
| ⌘ + Option + F | Find and Replace | Current file |
| ⌘ + Shift + F | Find in Project | Entire project |
| ⌘ + Shift + Option + F | Find and Replace in Project | Entire project |
| ⌘ + E | Use Selection for Find | Quick find |
| ⌘ + Ctrl + G | Select Next Occurrence | Multiple selection |
| ⌘ + Ctrl + Shift + G | Select All Occurrences | Multiple selection |
| ⌘ + L | Go to Line | Navigation |
🐛 Debugging & Analysis
| Shortcut | Action | Context |
|---|---|---|
| ⌘ + Y | Activate/Deactivate Breakpoints | Debug session |
| F6 | Step Over | Debug session |
| F7 | Step Into | Debug session |
| F8 | Step Out | Debug session |
| Ctrl + ⌘ + Y | Continue | Debug session |
| ⌘ + Shift + \ | Toggle Breakpoint | Code editing |
| ⌘ + Option + \ | Edit Breakpoint | Breakpoint management |
| ⌘ + Shift + C | Console | Debug output |
| ⌘ + Shift + V | Variables View | Debug inspection |
| ⌘ + I | Profile in Instruments | Performance analysis |
🎨 Interface Builder & Storyboard
| Shortcut | Action | Interface Builder |
|---|---|---|
| ⌘ + = | Zoom In | Canvas navigation |
| ⌘ + - | Zoom Out | Canvas navigation |
| ⌘ + 0 | Zoom to Fit | Canvas navigation |
| ⌘ + 1 | Actual Size | Canvas navigation |
| Space + Drag | Pan Canvas | Canvas navigation |
| ⌘ + Option + = | Size to Fit Content | Auto layout |
| ⌘ + Option + Shift + = | Update Frames | Auto layout |
| ⌘ + Ctrl + = | Resolve Auto Layout Issues | Auto layout |
| ⌘ + Shift + L | Object Library | Add components |
| ⌘ + Shift + M | Media Library | Add assets |
📱 Simulator Controls
| Shortcut | Action | Simulator |
|---|---|---|
| ⌘ + Shift + H | Home Button | Navigation |
| ⌘ + Shift + H + H | App Switcher | Navigation |
| ⌘ + R | Rotate Left | Orientation |
| ⌘ + → | Rotate Right | Orientation |
| ⌘ + 1 | 100% Scale | Display |
| ⌘ + 2 | 75% Scale | Display |
| ⌘ + 3 | 50% Scale | Display |
| ⌘ + 4 | 33% Scale | Display |
| ⌘ + 5 | 25% Scale | Display |
| ⌘ + K | Toggle Software Keyboard | Input |
🚀 Advanced & Power User
| Shortcut | Action | Advanced Usage |
|---|---|---|
| ⌘ + Shift + K + Option | Clean Build Folder (with confirmation) | Deep clean |
| ⌘ + Ctrl + Alt + B | Analyze | Static analysis |
| ⌘ + Shift + Option + K | Clean Derived Data | Nuclear clean |
| ⌘ + , | Preferences | Settings |
| ⌘ + Shift + Option + T | New Playground | Swift experimentation |
| ⌘ + Option + Enter | Assistant Editor | Split view |
| ⌘ + Enter | Standard Editor | Single view |
| ⌘ + Option + Shift + Enter | Version Editor | Source control |
| ⌘ + Shift + O + Option | Open Quickly (show in Assistant) | Navigation |
| ⌘ + Ctrl + Up/Down | Switch between counterparts | Related files |
💡 Productivity Tips
- Master ⌘+Shift+O (Open Quickly) - fastest way to navigate
- Use ⌘+Ctrl+E for renaming variables across scope
- ⌘+Shift+L gives you instant access to SF Symbols library
- Set up custom key bindings in Preferences > Key Bindings
- ⌘+Option+0 toggles inspector - great for more screen space
- Learn the debugging shortcuts (F6, F7, F8) for faster debug sessions
“MUSCLE MEMORY IS EVERYTHING. PRACTICE THESE SHORTCUTS DAILY.”
— ai-generated-nonsense
⚡ Challenge
CHOOSE YOUR TOP 5 SHORTCUTS TO MASTER THIS WEEK
- ⚡PICK 5 SHORTCUTS Choose 5 shortcuts from this guide that you don't currently use but would benefit your workflow
- 🔄DAILY PRACTICE Force yourself to use these shortcuts instead of mouse/trackpad for one week
- 🚀LEVEL UP Add 5 more shortcuts to your arsenal and repeat the process
✓ Success: Become a keyboard ninja in Xcode











