FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSAOrderedDictionary.h
Go to the documentation of this file.
1 //
2 // NSAOrderedDictionary.h
3 // FoundationExtension
4 //
5 // Created by Jeong YunWon on 12. 11. 4..
6 // Copyright (c) 2012 youknowone.org. All rights reserved.
7 //
8 
16 #import <Foundation/Foundation.h>
17 
21 @interface NSAOrderedDictionary : NSDictionary {
22  NSDictionary *_impl;
23  NSOrderedSet *_order;
24 }
25 
26 - (id)keyAtIndex:(NSUInteger)index;
27 - (id)objectAtIndex:(NSUInteger)index;
28 - (NSUInteger)indexOfKey:(id)key;
29 - (NSEnumerator *)reversedKeyEnumerator;
30 
31 @end
32 
36 @interface NSAMutableOrderedDictionary : NSMutableDictionary {
37  NSMutableDictionary *_impl;
38  NSMutableOrderedSet *_order;
39 }
40 
41 - (id)keyAtIndex:(NSUInteger)index;
42 - (id)objectAtIndex:(NSUInteger)index;
43 - (NSUInteger)indexOfKey:(id)key;
44 - (NSEnumerator *)reversedKeyEnumerator;
45 
46 @end
Mutable ordered dictionary.
Definition: NSAOrderedDictionary.h:36
NSMutableDictionary * _impl
Definition: NSAOrderedDictionary.h:37
NSOrderedSet * _order
Definition: NSAOrderedDictionary.h:23
NSDictionary * _impl
Definition: NSAOrderedDictionary.h:22
NSMutableOrderedSet * _order
Definition: NSAOrderedDictionary.h:38
Immutable ordered dictionary.
Definition: NSAOrderedDictionary.h:21