标签:
1,initWithFrame:style:
构造函数,用来初始化UITableView
UITableView *tableView = [[UITableView alloc]initWithFrame:CGRectMake(0, 0, 768, 1024-60-290) style:UITableViewStylePlain];
2,
style
用来改变UITableView的样式
3,-(NSInteger)numberOfRowsInSection:(NSInteger)
section
就是返回每组数据行的数量(Returns the number of rows (table cells) in a specified section.)
4,-(NSInteger)numberOfSections
返回分组的数量
5,separatorStyle
分隔符的样式
6,separatorColor
分隔符的颜色
7,rowHeight
行高
8,separatorEffect
分隔符的效果
9,backgroundView
所有Cell后面的大背景
10,separatorInset
设置线是否占满
11,-registerNib:forCellReuseIdentifier:
12,tableView:cellForRowAtIndexPath:
(UITableViewDataSource
)
13,-(UITableViewHeaderFooterView *)footerViewForSection:(NSInteger)
section
14,-(UITableViewHeaderFooterView *)headerViewForSection:(NSInteger)
section
标签:
原文地址:http://www.cnblogs.com/chenjianxiang/p/4477909.html