BBATableViewController.h 2 KB
//
//  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