标签:开发
,uitableviewdelegate>tableView处理步骤
#pragma mark
有多少组
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
#pragma mark
2.第section组头部控件有多
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
#pragma mark
3.第section组有多少
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
#pragma mark
4.indexPath这的cell有多高
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath
*)indexPath
#pragma mark
5.indexPath这的cell什么样
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
#pragma mark
6.第section组头部显示什么控件
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
本文出自 “灵哥笔记” 博客,请务必保留此出处http://kinghacker.blog.51cto.com/7767090/1679784
标签:开发
原文地址:http://kinghacker.blog.51cto.com/7767090/1679784