< Previous PageNext Page > Hide TOC

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.

Contents:

NSUserDefaultsController
NSObjectController
NSArrayController
NSTreeController


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.



< Previous PageNext Page > Hide TOC


© 2003, 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-03-08)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.