Hour 12. Working with User Defaults

What you’ll learn in this hour:

Introduction to User Defaults and Preference Panes

Reading and Writing User Defaults

Binding to the User Defaults Controller

• Building a User Preferences Window

This section of the book deals with the storage and retrieval of data in Mac OS X Lion applications. Your application can interact with data in many ways, and in this hour, we’re going to focus on giving your users the ability to set application preferences.

In this hour we’ll discuss user preferences and how users typically expect to interact with them in Mac OS X applications. From there, we’ll move on to a discussion of how to read and write preferences programmatically, and finally, we’ll build an application ...

Get Sams Teach Yourself Mac OS® X Lion™ App Development in 24 Hours 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.