Adding a New File from the File Template Library
Add a new file to a project or workspace using the File Template library.
Choose Show 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 Create.
The File Template Library offers a convenient way to create files in your project or workspace.
Using the provided file templates ensures that certain minimal file characteristics are correct for a file. For example, Xcode automatically creates both the implementation (
.m) file and the header (
.h) file for a new Objective-C class.