Adding a New File from the File Template Library
- Steps
Choose File Template Library from the Utilities menu under the View menu.
Select the file template in the library.
Drag the template to a project or group in the project navigator.
Name the file, and click Save.

Add a new file to a project or workspace using the File Template library. This library offers a convenient way to create files in your project or workspace.
The video illustrates using a template from the File Template library to add an Objective-C class to a project. Note that the library button is labeled with a file icon.
Using the provided file templates ensures that certain minimal file characteristics are correct for a file. For example, as seen in the video, Xcode automatically creates both the implementation (.m) file and the header (.h) file for the new Objective-C class.
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-06-11)