April 2010
Beginner to intermediate
480 pages
10h 9m
English
Many applications include preferences that users can customize. Whether users are picking the size of the text or storing passwords, there is a standard way of enabling iPhone application preferences. In this chapter, you will use the NSUserDefaults class to add a preference to your Nayberz application. This preference will specify the message that you publish in your net service (Figure 25.1).
Figure 25.1. Nayberz Settings pane

In the top-level directory of an iPhone application bundle, the filename Settings.bundle is reserved for a directory to contain the application’s preference settings. To add preferences to ...
Read now
Unlock full access