13 #import <Foundation/Foundation.h> 20 @property(nonatomic, assign)
SEL keySelector;
27 - (id)initWithKeySelector:(
SEL)keySelector;
34 - (id)initWithCapacity:(NSUInteger)numItems;
42 - (id)initWithCapacity:(NSUInteger)numItems keySelector:(SEL)keySelector;
49 - (void)setObject:(
id)obj forKey:(id)key;
55 - (void)addObject:(
id)obj;
62 - (id)objectForKey:(
id)key;
69 - (NSInteger)indexForKey:(
id)key;
76 - (NSInteger)indexForValue:(
id)value;
83 - (id)objectAtIndex:(NSInteger)index;
89 - (void)removeObject:(
id)obj;
95 - (void)removeObjectAtIndex:(NSInteger)index;
101 - (void)removeObjectIdenticalTo:(
id)obj;
109 - (void)sortUsingSelector:(
SEL)comparator;
116 - (void)sortWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr;
129 - (NSArray *)objectsInRange:(NSRange)range;
136 - (NSArray *)keysInRange:(NSRange)range;
141 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(__unsafe_unretained
id *)stackbuf
count:(NSUInteger)len;
NSUInteger count()
Get the number of objects in the OOOrderedDictionary.
OOOrderedDictionary.
Definition: OOOrderedDictionary.h:15