NSDictionaryController Bindings
Availability Bindings
editable
A multiple-value binding that determines if the NSDictionaryController
is editable in the user interface.
When editable
is bound, a new binding, editable2
, is exposed and can be bound. Binding to editable2
causes editable3
to be exposed, and so on.
The contents of the NSDictionaryController
are editable if a logical AND operation on all the editable
bindings results in a Boolean value of YES
.
Controller Content Bindings
contentDictionary
An NSDictionary
object that specifies the content of the NSDictionaryController
.
Controller Content Parameters Bindings
filterPredicate
The NSPredicate instance that is used by the NSDictionaryController
to filter the array controller contents.
selectionIndexes
An NSIndexSet instance that specifies the indices of the selected rows in the NSDictionaryController
.
sortDescriptors
An indexed collection of NSSortDescriptor instances that specify the sort ordering of the contents of the NSDictionaryController
.
The indexed collection is an NSArray instance or subclass, or a property that is accessible using the key-value-coding indexed accessor methods.
Parameters Bindings
excludedKeys
An array of strings containing the names of the keys in the dictionary content that should never be displayed in the user interface.
includedKeys
An array of strings containing the names of the keys in the contentDictionary
that should always be displayed in the user interface, even if they are not present in the contentDictionary
.
initialKey
A string used as the initial key name for a newly inserted item in the contentDictionary
.
As new items are inserted the controller enumerates the initial key name, resulting in key names such as “key”, “key1”, “key2”, and so on. This behavior can be customized by overriding newObject
.
initialValue
A string used as the initial value for a newly inserted item in the contentDictionary
.
localizedKeyDictionary
An NSDictionary
that provides the localized key names for the keys in the dictionary, allowing a user-friendly representation of the key name to be displayed.
managedObjectContext
The NSManagedObjectContext instance that the NSDictionaryController
is registered with.
Copyright © 2004, 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-07-15