RKOrderedDictionary Class Reference
Inherits from | NSMutableDictionary |
Declared in | RKOrderedDictionary.h RKOrderedDictionary.m |
Overview
The RKOrderedDictionary class declares the programmatic interface to objects that manage mutable associations of keys and values wherein the keys have a specific order. It adds ordered key modification operations to the basic operations it inherits from NSMutableDictionary.
Tasks
-
– insertObject:forKey:atIndex:
Inserts an object into the dictionary for a given key at a specific index.
-
– keyAtIndex:
Returns the key within the dictionary at a given index.
-
– reverseKeyEnumerator
Returns an enumerator object that lets you access each key in the dictionary, in reverse order.
Instance Methods
insertObject:forKey:atIndex:
Inserts an object into the dictionary for a given key at a specific index.
- (void)insertObject:(id)anObject forKey:(id)aKey atIndex:(NSUInteger)anIndex
Parameters
- anObject
The object to add the dictionary.
- aKey
The key to store the value under.
- anIndex
The index in the dictionary at which to insert aKey.
Declared In
RKOrderedDictionary.h