1 分区数
- (NSInteger)numberOfSectionsInTableView:(UITableView*)tableView
2 分区header/footer高度
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section
3 分区row数
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
4 row的高度
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath*)indexPath
5 cell的内容
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath*)indexPath
6 给cell赋值后再调用一次row的高度
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath*)indexPath
7 分区header/footer的view
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
8 在调用分区header/footer的view的方法后,不在调用该方法
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section;