UITableView代理方法更多的集中到对tableView的操作中
1.选中某行cell调用此方法
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
2.自定义每组头部的view 需要使用到UITableViewHeaderFooterView
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section;
3.自定义每组尾部的View 需要使用到UITableViewHeaderFooterView
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section;