A controller that accesses user preference information for your app from the user’s defaults database.
NSUserDefaultsController is a Cocoa bindings–compatible controller class. Properties of the shared instance of this class can be bound to user interface elements to access and modify values stored in
Obtaining the shared instance
Initializing a user defaults controller
Managing user defaults values
var values: Any
Returns a key value coding compliant object that is used to access the user default properties.
Causes the receiver to discard any unsaved changes to bound user default properties, restoring their previous values.