forked from rpetrich/AppList
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathALApplicationTableDataSource.h
38 lines (29 loc) · 1.11 KB
/
ALApplicationTableDataSource.h
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
27
28
29
30
31
32
33
34
35
36
37
38
#import <UIKit/UIKit.h>
#import <libkern/OSAtomic.h>
@class ALApplicationList;
@interface ALApplicationTableDataSource : NSObject <UITableViewDataSource> {
@private
ALApplicationList *appList;
NSArray *_sectionDescriptors;
NSMutableArray *_displayIdentifiers;
NSMutableArray *_displayNames;
NSMutableArray *_iconsToLoad;
OSSpinLock spinLock;
UITableView *_tableView;
}
+ (NSArray *)standardSectionDescriptors;
+ (id)dataSource;
- (id)init;
@property (nonatomic, copy) NSArray *sectionDescriptors;
@property (nonatomic, retain) UITableView *tableView;
- (NSString *)displayIdentifierForIndexPath:(NSIndexPath *)indexPath;
@end
extern const NSString *ALSectionDescriptorTitleKey;
extern const NSString *ALSectionDescriptorFooterTitleKey;
extern const NSString *ALSectionDescriptorPredicateKey;
extern const NSString *ALSectionDescriptorCellClassNameKey;
extern const NSString *ALSectionDescriptorIconSizeKey;
extern const NSString *ALSectionDescriptorSuppressHiddenAppsKey;
extern const NSString *ALItemDescriptorTextKey;
extern const NSString *ALItemDescriptorDetailTextKey;
extern const NSString *ALItemDescriptorImageKey;