Game Development Reference
In-Depth Information
represents a score and the date that score was achieved. By serializing an instance of
Highscores
,
we can preserve a user's high scores between play sessions.
The meat of the view configuration is defined in the two
GameController
XIB files. Let's take a look
at those.
Configuring an Application for Multiple Views
While this application works equally well on the iPhone and the iPad, let's just look at the iPhone
version of the GameController XIB file, shown in Figure
3-8
.
Figure 3-8.
GameController_iPhone.xib