BBATableViewController.h
2 KB
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
//
// BBATableViewController.h
// BBAComs
//
// Created by Xiong Feng on 15/10/15.
//
//
#define kRGBColorTextBlack @"#333333"
#define kRGBColorTextDarkGray @"#666666"
#define kRGBColorTextLightGray @"#999999"
#define kRGBColorSeperatorGray @"#e0e0e0"
#define kRGBColorBackgroundGray @"#f5f5f5"
#define kRGBColorBlue @"#3c76ff"
#import <BBAUIKit/BBAUIViewController.h>
__attribute__ ((deprecated("该类已被废弃,请勿再使用")))
@interface BBATableViewController :
BBAUIViewController<UITableViewDataSource, UITableViewDelegate>
@property (nonatomic) UITableViewStyle tableStyle;
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) UIView *placeholderView;
// 导航栏
// 左侧:返回
- (void)didClickLeftNavigationItem; // 在此实现特殊pop逻辑,否则实现willBePopped即可
- (void)willBePopped;
// 右侧
@property (nonatomic, copy) NSString *rightNavigationItemTitle;
@property (nonatomic, strong) UIColor *rightNavigationItemTitleColor;
@property (nonatomic, strong) UIColor *rightNavigationItemTitleColor_H;
- (void)didClickRightNavigationItem;
- (void)showPlaceholderView:(BOOL)shouldShow;
// 向单元格添加单行文字
- (void)addTitle:(NSString *)title
toCell:(UITableViewCell *)cell
x:(CGFloat)x
height:(CGFloat)height
fontSize:(CGFloat)fontSize;
- (void)addTitle:(NSString *)title
toCell:(UITableViewCell *)cell
x:(CGFloat)x
height:(CGFloat)height
fontSize:(CGFloat)fontSize
textColor:(NSString *)RGBColor;
//- (UIView *)footerWithTip:(NSString *)tip
// insets:(UIEdgeInsets)insets
// fontSize:(CGFloat)fontSize;
//
//- (UIView *)footerWithTip:(NSString *)tip
// insets:(UIEdgeInsets)insets
// fontSize:(CGFloat)fontSize
// textColor:(NSString *)RGBColor;
//+ (void)makeRoundImage:(UIImageView *)imageView;
//
//- (void)makeRoundImage:(UIImageView *)imageView;
@end