-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRACTableViewController.h
35 lines (24 loc) · 985 Bytes
/
RACTableViewController.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
//
// RACTableViewController.h
// Home Automation Wizzard
//
// Created by Alex Padalko on 12/25/14.
// Copyright (c) 2014 Alex Padalko. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "RACTableViewControllerProtocol.h"
static NSString * cellIndifiter=@"RACTVCCellIndifiter";
static NSString * loadIndifiter=@"RACTVCLoadCellIndifiter";
@interface RACTableViewController : UITableView<UITableViewDataSource,UITableViewDelegate>
@property (assign,nonatomic)id<RACTableViewControllerProtocol> viewModel;
@property (retain,nonatomic)Class cellClass;
@property (retain,nonatomic)NSString * objectKeyPath;
@property (nonatomic)CGFloat cellHeight;
@property (retain,nonatomic)UIView * emptyView;
@property (retain,nonatomic)UIView * loadView;
@property (nonatomic)BOOL paginationEnabled;
@property (nonatomic)CGFloat loaderCellHeight;
@property (retain,nonatomic)Class loaderCellClass;
-(UITableViewCell*)defaultCellWithItem:(id)item;
-(UITableViewCell*)loadCell;
@end