25. Settings
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).
Settings Bundle
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 ...
Get iPhone Programming: The Big Nerd Ranch Guide 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.