As a mindful exercise I kept track of things I do in Xcode that might not seem obvious to a new user. Maybe all things are known. But who knows maybe there is a little gem in here. I use more shortcuts, but these I use most often by far.
A lot of people know ‘⌘⇪O’, but not a lot of people are aware of the value of entering lowercase and uppercase input. Casing is significant in the “Open Quickly…” dialog. For example, if you have a class called SomeRandomClassName
you can actually open that file by typing SoRaCl
.
Go ahead, try pressing ⌃6 in Xcode with an open Swift file. Now start typing.
Helpful documentation in a pop-up, especially if you add doc comments. (Obviously uni can also display the Quick Help Inspector.
Having Doc comments on key areas of your interfaces really helps your peers work with the code you write. I like spending some time on my Doc comments to make ⌥-clicking extra useful.
It’s always easy to quickly jump to the current open file in the navigator to easily see and select related files.
It takes some getting used to, but once you get the hang of it, this will really save you time in specific editing situation. Try it!