Skip to main content

Application Settings and User Defaults

  • Chapter
  • First Online:
Beginning iPhone Development with Swift

Abstract

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 and other iOS devices 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 application to the Settings application and how to access those settings from within your application.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Kim Topley

About this chapter

Cite this chapter

Mark, D., Nutting, J., Topley, K., Olsson, F., LaMarche, J. (2014). Application Settings and User Defaults. In: Beginning iPhone Development with Swift. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0409-2_12

Download citation

Publish with us

Policies and ethics