Understanding the Project's Structure

Even a simple game can have a surprising number artifacts in the Xcode project. Exploring what these items are helps you understand where each piece of the application is defined and how each fits together. Figure 3–7 shows the Project Explorer in Xcode, which shows a number of the files used in this project.

Image

Figure 3–7. Project Explorer for the Project Sample 03

The project shown in Figure 3–7 follows the same pattern as the project from Chapter 2. There are the shared classes under the group Sample 03, while device-specific classes are stored under the groups iPhone and iPad. The class Sample_03AppDelegate ...

Get Beginning iOS 5 Games Development: Using the iOS 5 SDK for iPad, iPhone, and iPod Touch 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.