Using Code from the Code Snippet Library
- Steps
With a source file open, click the Code Snippet library button.
Select a code snippet.
Drag the snippet to the source file.

Add frequently-used source code to your project by using a snippet from the Code Snippet library.
The system-supplied snippets in the library are designed to speed development and help ensure code integrity. You can also create custom code snippets.
The video illustrates using a code snippet to add an init method to the implementation of an Objective-C class.
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-01-09)