Using the High-Level Preferences API

The functions CFPreferencesSetAppValue and CFPreferencesGetAppValue are the most straightforward way for an application to create and retrieve preferences. The preference data is written to the default domain (current user, current application, any host) and so it is available on all machines the user can log in to.

Saving a Preference

Retrieving a Preference

Updating a Preference

Deleting a Preference


© 2000 Apple Computer, Inc. (Last Updated 14 July 2000)