You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.0 KiB
40 lines
1.0 KiB
![]()
2 years ago
|
//
|
||
|
// XHBaseTableViewController.h
|
||
|
// MessageDisplayExample
|
||
|
//
|
||
|
// Created by HUAJIE-1 on 14-5-6.
|
||
|
// Copyright (c) 2014年 曾宪华 开发团队(http://iyilunba.com ) 本人QQ:543413507 本人QQ群(142557668). All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "XHBaseViewController.h"
|
||
|
|
||
|
@interface XHBaseTableViewController : XHBaseViewController <UITableViewDelegate, UITableViewDataSource>
|
||
|
|
||
|
/**
|
||
|
* 显示大量数据的控件
|
||
|
*/
|
||
|
@property (nonatomic, strong) UITableView *tableView;
|
||
|
/**
|
||
|
* 初始化init的时候设置tableView的样式才有效
|
||
|
*/
|
||
|
@property (nonatomic, assign) UITableViewStyle tableViewStyle;
|
||
|
|
||
|
/**
|
||
|
* 去除iOS7新的功能api,tableView的分割线变成iOS6正常的样式
|
||
|
*/
|
||
|
- (void)configuraTableViewNormalSeparatorInset;
|
||
|
|
||
|
/**
|
||
|
* 配置tableView右侧的index title 背景颜色,因为在iOS7有白色底色,iOS6没有
|
||
|
*
|
||
|
* @param tableView 目标tableView
|
||
|
*/
|
||
|
- (void)configuraSectionIndexBackgroundColorWithTableView:(UITableView *)tableView;
|
||
|
|
||
|
/**
|
||
|
* 加载本地或者网络数据源
|
||
|
*/
|
||
|
- (void)loadDataSource;
|
||
|
|
||
|
@end
|