Chapter 10. Application Settings and User Defaults

All but the simplest computer programs today have a preferences window where the user can set application-specific options. On Mac OS X, the Preferences... menu item is usually found in the application menu. Selecting it brings up a window where the user can enter and change various options. The iPhone has a dedicated application called Settings, which you no doubt have played with any number of times. In this chapter, we'll show you how to add settings for your application to the Settings application, and we'll show you how to access those settings from within your application.

Note

Apple's term for Settings and its underlying mechanism is Application Preferences.

Getting to know Your Settings Bundle ...

Get Beginning iPhone Development: Exploring the iPhone SDK 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.