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.

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 live online training, plus books, videos, and digital content from nearly 200 publishers.