60 Apple XCode Keyboard Shortcuts

for MacOS

When you are in your zone you want to access everything quickly and easily and reduce the risk of errors. Hence here comes the XCode Shortcuts to play its role. XCode is used by developers to design, build, and debug applications. Therefore, learning the XCode shortcuts is useful for various reasons: efficiency, accuracy, accessibility, and consistency.

Download Apple XCode Shortcuts PDF

Practicing and learning the below list of XCode Shortcuts in your daily routine will make you a more productive and faster IOS app developer. Download the XCode Shortcuts PDF that looks amazing and makes you an efficient programmer. I personally do not prefer using a mouse while I am in the middle of coding.

Most used Apple Xcode Shortcuts

Action Apple Xcode Shortcuts
Preferences Command + ,
Console Command + Shift + C
Documentation Command + Shift + 0
Documentation of Selected Text Command + Ctrl + ?
Quick Help Command + ?
File Template Libraries Command + Ctrl + Option + 1
Code Snippet Libraries Command + Ctrl + Option + 2
Object Libraries Command + Ctrl + Option + 3
Media Libraries Command + Ctrl + Option + 4

Read More: 45 Aptana Studio Shortcuts for Windows & Mac

Build & Run Shortcuts

Action Apple XCode Shortcuts
Build Command + B
Analyse Command + Shift + B
Run Command + R
Profile Command + I
Test Command + U
Clear Console Command + K
Clean Command + Shift + K

Code Editing Shortcuts

Action Apple XCode Shortcuts
Comment Selection Command + /
Fold Method or Class Command + Option + Left Arrow key
Unfold Method or Class Command + Option + Right Arrow key
Edit All in Scope Command + Ctrl + E
Show Completions Ctrl + Spacebar
Next Completion Ctrl + .
Accept Completion Tab
Next Placeholder Ctrl + /
Previous Placeholder Ctrl + Shift + /

Read More: 62 Canva Shortcuts for Windows & Mac

File Navigation Shortcuts

Action Apple XCode Shortcuts
Go Forward Command + Ctrl + Right Arrow key
Go Backward Command + Ctrl + Left Arrow key
Open Quickly Command + Shift + O
Show Related Items Ctrl + 1

Code Navigation Shortcuts

Action Apple XCode Shortcuts
Beginning of Line Command + Left Arrow key
End of Line Command + Right Arrow key
Top of File Command + Up Arrow key
End of File Command + Down Arrow key
Previous Word Option + Left Arrow key
Next Word Option + Right Arrow key
Previous SubWord Ctrl + Left Arrow key
Next SubWord Ctrl + Right Arrow key
Go to Liner Command + L
Find in File Command + F
Find in Project Command + Shift + F
Find Next Command + G
Find Previous Command + Shift + G

Debugging Shortcuts

Action Apple XCode Shortcut keys
Next Issue Command + ‘
Previous Issue Command + “
Fix Next Issue Command + Ctrl + ‘
Fix Previous Issue Command + Ctrl + “
Add BreakPoint Command + \
Activate Breakpoint Command + Y

Read More: RK61 Shortcuts You Should Know

Other Shortcuts

Action Apple XCode Shortcuts
Switch Inspector Command + Option + 1 … 7
Toggle Utilities Command + Option + 0
Filter in Library Command + Option + L
Show Assistant Editor Command + Option + Return
Show Version Editor Command + Option + Shift + Return
Show Standard Editor Command + Return
Toggle Debug Area Command + Shift + Y
Switch Navigators Command + 1 … 7
Toggle Navigators Command + 0
Filter in Navigator Command + Option + J

With XCode, you can create code for other projects in different languages such as C, C++, Java, Python, etc. Microsoft Visual Studio is the best XCode alternative that developers can rely upon without having to miss the XCode feature. Take a rapid look at the Visual Studio Shortcuts list.


Back to top button