blob: 7661fea427cbad9f1eb0cbe94255e3e2a6a4f5b9 (
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
|
#import "MWMMapDownloaderButtonTableViewCell.h"
#import "MWMMapDownloaderMode.h"
#import "MWMMapDownloaderProtocol.h"
#import "MWMMapDownloaderTableViewCell.h"
@interface MWMMapDownloaderDataSource : NSObject <UITableViewDataSource>
@property(nonatomic, readonly) BOOL isParentRoot;
@property(nonatomic, readonly) MWMMapDownloaderMode mode;
@property(weak, nonatomic, readonly)
id<MWMMapDownloaderProtocol, MWMMapDownloaderButtonTableViewCellProtocol>
delegate;
- (instancetype)
initWithDelegate:(id<MWMMapDownloaderProtocol, MWMMapDownloaderButtonTableViewCellProtocol>)delegate
mode:(MWMMapDownloaderMode)mode;
- (NSString *)parentCountryId;
- (NSString *)countryIdForIndexPath:(NSIndexPath *)indexPath;
- (Class)cellClassForIndexPath:(NSIndexPath *)indexPath;
- (void)fillCell:(UITableViewCell *)cell atIndexPath:(NSIndexPath *)indexPath;
- (BOOL)isButtonCell:(NSInteger)section;
- (NSString *)searchMatchedResultForCountryId:(NSString *)countryId;
@end
|