6. Adding Files to a Project

All but the simplest applications will likely need additional source code files, multiple nibs, artwork, HTML-based help files, and frameworks or libraries. There are two basic categories of files you might add to a project: source code and resources. In this chapter, you will learn how to add new or existing source and resource files to your project as well as how to remove them.

Adding Existing Files

There are two ways to add existing files to an Xcode project: You can use the Add Files sheet, or you can use drag and drop.

Using the Add Files Sheet

You can choose files to add to your project by using the Add Files sheet, which you can access by choosing File > Add Files To “TestApp” from the main menu.

The sheet ...

Get Mastering Xcode 4: Develop and Design 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.