Chapter    12

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 OS X, you’ll usually find a Preferences… menu item in an application’s menu. Selecting it brings up a window where the user can enter and change various options. The iPhone and iPad have 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 iOS application to the Settings application and how to access those settings from within your application.

Getting to Know Your Settings Bundle

The Settings application lets the user enter and change preferences for any application ...

Get Beginning iPhone Development with Swift 2: Exploring the iOS SDK now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.