ETKeyValuePair class documentation
ETKeyValuePair : NSObject <ETViewpoint>Overview
Key value pairs are used by EtoileUI to present and interact with keyed data structures.
If you put them in an array, the resulting data structure is roughly equivalent to an ordered dictionary or a multi-value collection.
For now, ETKeyValuePair doesn't support subclassing.
Initialization
- + (id) pairWithKey: (NSString *)aKey value: (id)aValue
Returns a new autoreleased pair with the given key and value.
Returns a new autoreleased pair with the given key and value.
- - (id) initWithKey: (NSString *)aKey value: (id)aValue
Initializes and returns a new pair with the given key and value.
Type Querying
Observing Changes From Other Objects
- - (NSSet *) observableKeyPaths
Returns displayName, key, value and representedObject.
Returns displayName, key, value and representedObject.
Controlling the Represented Element
Accessing the Represented Element
Property-Value Coding
- - (NSArray *) propertyNames
Exposes key and value in addition to the inherited properties.
Exposes key and value in addition to the inherited properties.