Knowing Xcode keyboard shortcuts is key to be a productive iOS developer. But memorising them can be demotivating, especially when starting out with Xcode.
In this post, I share a quick tip on how to integrate an efficient learning process into your workflow. The key is to be able to lookup a shortcut really quickly, so you can learn them on the fly when developing.
The first step is to be able to open Xcodes help menu quickly.
There is no default shortcut for it, but you can easily create your own custom shortcut in
System Preferences >
App Shortcuts >
Show Help menu. I chose
⌘ ⌥ ⌃ H, but you can use whatever serves you best. Be careful though not to choose a shortcut that is already occupied.
Now, open Xcodes help menu with your custom shortcut and start typing the name of the action.
Xcode will make suggestions and you will see the shortcut directly behind it. Then use the escape key to close the help menu.
Now use the looked up shortcut to perform the action.
Integrate this workflow into your every day coding. It will payout real soon. You will memorize the shortcuts automatically when using them on a daily basis and your performance will increase continuously.
Note: It is tempting to simply use enter to perform the action. Don’t do that, because just seeing the shortcut will not have the desired learning effect.
Interested in more posts about Xcode keyboard shortcuts? Then checkout these posts:
- Basic Xcode keyboard shortcuts every developer should know
- Advanced Xcode keyboard shortcuts to be more productive
Did you like this post? Then let me know by clicking on the like button below.
Like to stay updated? You can follow me on Twitter or subscribe to this blog. If you like to read on Medium, I’m also publishing my posts there. Feel free to contact me if you have any questions or want to give me some feedback.