

Moving single lines or entire blocks around in your code is immensely useful, for example when organising code that belongs together. It’s hard to imagine working without code completion - I use it all of the time to explore APIs, and to save time when typing. Let’s begin with editing - this is one of the most basic activities, so every little improvement will boost your productivity! Code Completion ( ⌃ + Space) I’ve collected a list of my favourite keybindings and mouse commands - hope you’ll find them useful as well! All keybindings listed here use Xcode’s default keybinding - with one notable exception. Nevertheless, it pays off to know your way around Xcode and be proficient in the core editing and navigation commands to increase your productivity. While you could certainly use just one editor like VS Code for all your source code editing tasks, as iOS / macOS / watchOS / tvOS developers, we’re somewhat bound to use Xcode, as it includes so much more tools than just the source code editor.

The reasoning behind their recommendation is simple: once you’ve memorised all keyboard shortcuts, your productivity will soar. In The Pragmatic Programmer, the authors recommend choosing one editor, and using it for all editing tasks.

Simply being able to edit code doesn’t cut it - you need to become proficient. As developers, we spend a considerable amount of time in our IDE, so it’s worth becoming an expert in using it.
