Code Snippet Library
You may have noticed that when you start typing the method definition for init in an implementation file, Xcode will automatically add an init implementation in your source file. If you have not noticed this, go ahead and type init in an implementation file and wait for the code-completion to kick in.
The freebie code comes from the code snippet library. You can see the code snippet library by opening the utility area and selecting the tab in the library selector (Figure 8.13). Alternatively, you can use the shortcut Command-Control-Option-2, which reveals the utility area and the Code Snippet Library. Substituting ...
Get iOS Programming: The Big Nerd Ranch Guide 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.