Quick tip on how to learn Xcode keyboard shortcuts efficiently
An easy way to memorize Xcode keyboard shortcuts
22 Sep 2019 · 2 min read
Learning Xcode keyboard shortcuts is key to be a productive iOS developer. But memorizing a lot of shortcuts can be annoying, especially when starting out with Xcode.
In this post, I will share a quick tip of 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.Let's stay motivated.
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 Settings > 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 directly see the shortcut. 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.
Articles with related topics
Step-by-step guide for localizing plurals in iOS
Learn how to localize plurals for multiple languages in iOS by using the Localizable.stringsdict file
01 Aug 2020 · 6 min read
Explore Apple's new Swift logging API for iOS 14
Learn how to log events and errors in your iOS app with the new API introduced at WWDC 2020
05 Jul 2020 · 4 min read
Quick guide on supporting Dark Mode on iOS
Improve your app's user experience by following this Dark Mode support guide
15 Oct 2019 · 4 min read
Advanced Xcode keyboard shortcuts to be more productive
Increase your productivity with these hidden Xcode shortcuts
18 Sep 2019 · 3 min read
Basic Xcode keyboard shortcuts every developer should know
Increase your productivity when working with Xcode
15 Sep 2019 · 3 min read