Mac OS X Reference Library Apple Developer
Search

Controller Key-Value Observing Compliance

The Cocoa bindings controller classes only provide key-value observing notifications for selected properties. This article enumerates the key-value-observing compliant properties for each class.

Important: The Cocoa bindings controller classes do not provide change values when sending key-value observing notifications to observers. It is the developer‚Äôs responsibility to query the controller to determine the new values.

NSUserDefaultsController

NSUserDefaultsController is key-value-observing compliant for the following properties:

NSObjectController

NSObjectController is key-value-observing compliant for the following properties:

NSArrayController

NSArrayController is key-value-observing compliant for the following properties:

NSTreeController

NSTreeController is key-value-observing compliant for the following properties:

Note: The value returned by NSTreeController's arrangedObjects method is opaque. You should only observe this property to determine that a change has occurred.




Last updated: 2009-03-08

Did this document help you? Yes It's good, but... Not helpful...