Five Useful Shortcuts for Xcode 5

Before we get started

After spending over 20 years working with Macs, both old and new, theres a tool I think would be useful to every Mac owner who is experiencing performance issues.

CleanMyMac is highest rated all-round cleaning app for the Mac, it can quickly diagnose and solve a whole plethora of common (but sometimes tedious to fix) issues at the click of a button. It also just happens to resolve many of the issues covered in the speed up section of this site, so Download CleanMyMac to get your Mac back up to speed today.


You will often find yourself wasting a lot of time and money, navigating menus in xcode. This guide will help stop that and make you a better developer.

This is a variety of useful shortcuts, which are setup by default in xcode.

If you want to create your own shortcuts. You can change them by going to preferences, then clicking key bindings.

Commenting multiple lines of code

Select the lines you want to comment
⌘ + / = Comment/Uncomment

Running and building the app

⌘ + R = Runs the app in the simulator or device
⌘ + B = Builds the app

Opening useful windows

Alt + Left Click = Opens the documentation for the variable/class
Shift + ⌘ + 2 = Opens the organizer
Shift + ⌘ + C = Shows the console

Code structure

⌘ + Up or Down = Go to top/bottom of the file
⌘ + ] or [ = Align the code to edges
⌘ + : = Check for spellings & grammar


⌘ + ” or ‘ = Jump between issues in the project
F7 = Step into code


About the author


Follow me here: |

Add Comment

Click here to post a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.