quentin.mathe@gmail.com
)A key/value association.
Copyright: (C) 2010 Quentin Mathe
- Declared in:
- ETKeyValuePair.h
- Conforms to:
- ETViewpoint
@group Collection Additions
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.
@taskunit Initialization
Returns a new autoreleased pair with the given key and value.
Returns a new autoreleased pair with the given key and value.
Initializes and returns a new pair with the given key and value.
@taskunit Controlling the Represented Element
Returns the pair identifier.
Returns the pair identifier.
@taskunit Observing Changes From Other Objects
Returns displayName, key, value and representedObject.
Returns displayName, key, value and representedObject.
@taskunit Property-Value Coding
Exposes key and value in addition to the inherited properties.
Exposes key and value in addition to the inherited properties.
@taskunit Accessing the Represented Element
Returns the pair content.
Returns the pair content.
- Declared in:
- ETKeyValuePair.h
@group Collection Additions
ETKeyValuePair-related extensions to NSArray.
Returns a dictionary where every ETKeyValuePair present in the array is turned into a key/value entry.
For every other object, its index in the array becomes its key in the dictionary.
The returned dictionary is autoreleased.
Raises an NSGenericException when the receiver contains an object which is not an ETKeyValuePair object.
- Declared in:
- ETKeyValuePair.h
@group Collection Additions
ETKeyValuePair-related extensions to NSObject.