黑马程序员技术交流社区
标题:
UITableView代理方法
[打印本页]
作者:
1374656143
时间:
2015-8-27 01:50
标题:
UITableView代理方法
- (NSInteger)numberOfSectionsInTableView:(UITableView
*)tableView;//返回多少个section
- (NSInteger)tableView:(UITableView *)table
numberOfRowsInSection:(NSInteger)section;//返回多少行
- (CGFloat)tableView:(UITableView *)tableView
heightForRowAtIndexPath:(NSIndexPath*)indexPath;//返回⾏高
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section;//返回section的 headview的高
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section;//返回section的 footview的高
作者:
runsunlife
时间:
2015-8-27 06:26
加油这是在预习吗
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/)
黑马程序员IT技术论坛 X3.2