IOS开发之UITableView1
2015-07-29 20:21
337 查看
,uitableviewdelegate>tableView处理步骤
#pragma mark
有多少组
2.第section组头部控件有多
3.第section组有多少
4.indexPath这的cell有多高
#pragma mark
5.indexPath这的cell什么样
6.第section组头部显示什么控件
本文出自 “灵哥笔记” 博客,请务必保留此出处http://kinghacker.blog.51cto.com/7767090/1679784
#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
相关文章推荐
- Snail—UI学习之系统标签栏UITabBarController
- POJ 1679 The Unique MST
- ios UI 适配布局相关文章
- CodeForces 5C Longest Regular Bracket Sequence
- Beginners Guide To Learn Dimension Reduction Techniques
- UI02_Label
- ExQuilla的使用和破解
- StringBuffer 与 StringBuilder类的使用
- Android API Guides 阅读笔记(7)----Overview Screen
- request.getParameterMap()的用法
- UI 第三课 ⼀、自定义视图 二、视图控制器指定⾃自定义View 三、检测屏幕旋转 四、处理内存警告 五、容器视图控制器
- iOS -UI-06 UIImageView 动画
- NSValue/NSNumber
- Qt 3D教程(四)结合Qt Quick来实现动画的效果
- 【读书笔记】UIFont-如何知道字体的PostScript名称
- 【读书笔记】UIFont-如何知道字体的PostScript名称
- UILocalNotification
- 手动创建UIWindow及UIWindowLevel的说明
- Incorrect string value: '' for column '' at row 1
- iOS 在UILabel显示不同的颜色和字体