Using Code from the Code Snippet Library
Add frequently-used source code to your project by using a snippet from the Code Snippet library.
With a source file open, click the Code Snippet library button.
Select a code snippet.
Drag the snippet to the source file.
The screenshot illustrates using a code snippet to add an
initmethod to the implementation of an Objective-C class.