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.
NSUserDefaultsController
NSUserDefaultsController is key-value-observing compliant for the following properties:
appliesImmediately
defaults
hasUnappliedChanges
initialValues
values
NSObjectController
NSObjectController is key-value-observing compliant for the following properties:
canAdd
canRemove
content
isEditable
objectClass
selectedObjects
selection
NSArrayController
NSArrayController is key-value-observing compliant for the following properties:
alwaysUsesMultipleValuesMarker
arrangedObjects
avoidsEmptySelection
canAdd
canInsert
canRemove
canSelectNext
canSelectPrevious
clearsFilterPredicateOnInsertion
content
filterPredicate
isEditable
preservesSelection
selectedObjects
selection
selectionIndex
selectionIndexes
selectsInsertedObjects
sortDescriptors
NSTreeController
NSTreeController is key-value-observing compliant for the following properties:
alwaysUsesMultipleValuesMarker
arrangedObjects
avoidsEmptySelection
canAdd
canAddChild
canInsert
canInsertChild
canRemove
canSelectNext
canSelectPrevious
content
isEditable
preservesSelection
selectedObjects
selection
selectionIndexPath
selectionIndexPaths
selectsInsertedObjects
sortDescriptors
Copyright © 2003, 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-07-15