您的位置:首页 > 产品设计 > UI/UE

IOS开发之UITableView1

2015-07-29 20:21 337 查看
,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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: