-
Notifications
You must be signed in to change notification settings - Fork 30
/
ATLApplicationListControllerBase.h
73 lines (58 loc) · 2.64 KB
/
ATLApplicationListControllerBase.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#import <Preferences/PSListController.h>
#import <Preferences/PSSpecifier.h>
#import "ATLApplicationSection.h"
@class LSApplicationProxy;
@interface PSListController()
- (BOOL)containsSpecifier:(PSSpecifier*)specifier;
@end
@protocol LSApplicationWorkspaceObserverProtocol <NSObject>
@optional
-(void)applicationsDidInstall:(id)arg1;
-(void)applicationsDidUninstall:(id)arg1;
@end
@interface ATLApplicationListControllerBase : PSListController <UISearchResultsUpdating, LSApplicationWorkspaceObserverProtocol>
{
dispatch_queue_t _iconLoadQueue;
NSMutableArray* _allSpecifiers;
NSMutableDictionary* _specifiersByLetter;
NSArray<ATLApplicationSection*>* _applicationSections;
UISearchController* _searchController;
NSString* _searchKey;
BOOL _isPopulated;
BOOL _isReloadingSpecifiers;
NSBundle* _altListBundle;
UIImage* _placeholderAppIcon;
}
@property (nonatomic) BOOL useSearchBar;
@property (nonatomic) BOOL hideSearchBarWhileScrolling;
@property (nonatomic) BOOL includeIdentifiersInSearch;
@property (nonatomic) BOOL showIdentifiersAsSubtitle;
@property (nonatomic) BOOL alphabeticIndexingEnabled;
@property (nonatomic) BOOL hideAlphabeticSectionHeaders;
@property (nonatomic) NSBundle* localizationBundle;
- (instancetype)initWithSections:(NSArray<ATLApplicationSection*>*)applicationSections;
- (void)_setUpSearchBar;
- (void)_loadSectionsFromSpecifier;
- (void)_populateSections;
- (void)loadPreferences;
- (void)prepareForPopulatingSections;
- (NSString*)localizedStringForString:(NSString*)string;
- (void)reloadApplications;
- (BOOL)shouldHideApplicationSpecifiers;
- (BOOL)shouldHideApplicationSpecifier:(PSSpecifier*)specifier;
- (BOOL)shouldShowSubtitles;
- (NSString*)subtitleForApplicationWithIdentifier:(NSString*)applicationID;
- (NSString*)_subtitleForSpecifier:(PSSpecifier*)specifier;
- (PSCellType)cellTypeForApplicationCells;
- (Class)customCellClassForCellType:(PSCellType)cellType;
- (Class)detailControllerClassForSpecifierOfApplicationProxy:(LSApplicationProxy*)applicationProxy;
- (SEL)getterForSpecifierOfApplicationProxy:(LSApplicationProxy*)applicationProxy;
- (SEL)setterForSpecifierOfApplicationProxy:(LSApplicationProxy*)applicationProxy;
- (PSSpecifier*)createSpecifierForApplicationProxy:(LSApplicationProxy*)applicationProxy;
- (NSArray*)createSpecifiersForApplicationSection:(ATLApplicationSection*)section;
- (PSSpecifier*)createGroupSpecifierForApplicationSection:(ATLApplicationSection*)section;
- (NSMutableArray*)specifiersGroupedByLetters;
- (void)populateSpecifiersByLetter;
- (PSSpecifier*)specifierForApplicationWithIdentifier:(NSString*)applicationID;
- (NSIndexPath*)indexPathForApplicationWithIdentifier:(NSString*)applicationID;
@end