Comment Magic
There are several useful editing tricks that won’t be found in any of the menus or keyboard shortcuts. These tricks are invoked by putting specially formatted comments in your code. Arguably, you should be commenting your code anyway, but with the tricks in this section, you’ll pick up navigational, organizational, and documentation wins as a bonus.
Organizing the Symbols Menu
The last menu of the jump bar is the current file’s symbols: properties, methods, functions, etc. It’s easy enough to jump around in the file by scrolling through this menu, but a lot of times, there are too many members for it to be practical to find anything. ...
Get Xcode Treasures now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.