Quick tip on how to learn Xcode keyboard shortcuts efficiently
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
> Keyboard
> Shortcuts
> 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:
Did you like this post? Then let me know by leaving a clap.
Like to stay updated? Then follow me here on medium or on twitter or both :-)
Originally published at https://www.tanaschita.com on October 23, 2019.