UFOs: Examining the Source Code

In your group tree, you will see the three class files we will be working with, UFOAppDelegate, UFOViewController, and UFOGameViewController. These files all have an associated header (.h file) and implementation file (.m file). The group tree is shown in Figure 1–3.

images

Figure 1–3. A look at the group tree structure for the sample project from within Xcode

First, take a look at the UFOAppDelegate.h and UFOAppDelegate.m files. These files should look familiar to you from other iOS development work. They are nothing more than a base UINavgiationController subclass. If you need to familiarize yourself with the code ...

Get Beginning iOS Game Center and Game Kit: For iPhone, iPad, 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.