summaryrefslogtreecommitdiffstats
path: root/Classes/SectionDictionary.h
blob: b4dd6b05aa510a4546824d3c9d9be6079c56f04d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
//  SectionDictionary.h
//  PicCast
//
//  Created by Matthew Handler on 4/23/11.
//  Copyright 2011 Earl Industries. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface SectionDictionary : NSObject {
	NSInteger index;
	NSMutableDictionary *indexMap;
	NSMutableArray *sortedKeys;
	NSMutableDictionary *theRealDictionary;
}

- (void) appendObject:(id)anObject forKey:(id)aKey;
- (void) setObject:(id)anObject forKey:(id)aKey;
- (id) objectForIndex:(NSInteger)i;
- (void) sortKeys;
- (NSString *) keyForIndex:(NSInteger)i;
- (NSArray *) allIndices;

@end