Up

# NSUserDefaultsController

### Authors

Fred Kiefer (`fredkiefer@gmx.de`)

> Controller class for user defaults

Copyright: (C) (C) 2006 Free Software Foundation, Inc.

# Software documentation for the NSUserDefaultsController class

## NSUserDefaultsController : NSController

> Declared in:
>   AppKit/NSUserDefaultsController.h

Availability: MacOS-X 10.3.0
Description forthcoming.

Instance Variables
Method summary

- +sharedUserDefaultsController
- -appliesImmediately
- -defaults
- -hasUnappliedChanges
- -initWithDefaults:initialValues:
- -initialValues
- -revert:
- -revertToInitialValues:
- -save:
- -setAppliesImmediately:
- -setInitialValues:
- -values

### sharedUserDefaultsController

+ (id) sharedUserDefaultsController;
Availability: MacOS-X 10.3.0
Description forthcoming.

### appliesImmediately

- (BOOL) appliesImmediately;
Availability: MacOS-X 10.3.0
Description forthcoming.

### defaults

- (NSUserDefaults*) defaults;
Availability: MacOS-X 10.3.0
Description forthcoming.

### hasUnappliedChanges

- (BOOL) hasUnappliedChanges;
Availability: MacOS-X 10.4.0
Description forthcoming.

### initWithDefaults: initialValues:

- (id) initWithDefaults: (NSUserDefaults*)defaults initialValues: (NSDictionary*)initialValues;
Availability: MacOS-X 10.3.0
Description forthcoming.

### initialValues

- (NSDictionary*) initialValues;
Availability: MacOS-X 10.3.0
Description forthcoming.

### revert:

- (void) revert: (id)sender;
Availability: MacOS-X 10.3.0
Description forthcoming.

### revertToInitialValues:

- (void) revertToInitialValues: (id)sender;
Availability: MacOS-X 10.3.0
Description forthcoming.

### save:

- (void) save: (id)sender;
Availability: MacOS-X 10.3.0
Description forthcoming.

### setAppliesImmediately:

- (void) setAppliesImmediately: (BOOL)flag;
Availability: MacOS-X 10.3.0
Description forthcoming.

### setInitialValues:

- (void) setInitialValues: (NSDictionary*)values;
Availability: MacOS-X 10.3.0
Description forthcoming.

### values

- (id) values;
Availability: MacOS-X 10.3.0
Description forthcoming.

## Instance Variables for NSUserDefaultsController Class

### _applies_immediately

@protected BOOL _applies_immediately;
Availability: MacOS-X 10.3.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _defaults

@protected NSUserDefaults* _defaults;
Availability: MacOS-X 10.3.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _initial_values

@protected NSDictionary* _initial_values;
Availability: MacOS-X 10.3.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _values

@protected id _values;
Availability: MacOS-X 10.3.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

Up