
UITableView(iOS)
文章平均质量分 81
Kingsley_Chen
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UITableView基本属性详解
该主题主要讲述uitableview的基本属性的设置://创建UITableView //设置table的类型:UITableViewStylePlain为普通列表模式,UITableViewStyleGrouped为分组模式 /* typedef NS_ENUM(NSInteger, UITableViewStyle) { UITableVie原创 2013-06-17 23:54:46 · 5429 阅读 · 0 评论 -
自定义ExpandList效果
- (void)viewDidLoad{ [super viewDidLoad]; selected = -1; _key = [[NSMutableArray alloc]initWithObjects:@"我的好友",@"我的同事",@"我的网友", nil]; _value = [[NSArray alloc]initWithObjects:@"A原创 2013-06-23 01:02:39 · 1276 阅读 · 0 评论 -
UITableViewCell详解
UITableViewCell:1.使用系统自定义的各种UITableViewCell的样式- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ static NSString* indentifier = @"cell";原创 2013-06-22 17:48:43 · 5150 阅读 · 0 评论 -
UITableView回调和table相关成员方法详解
1.UITableView的datasource实现://回调获取每个section中的cell的行数- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section//回调获取每个uitableviewcell,只有当需要显示的cell在table的可视区域内才被回调原创 2013-06-18 22:28:37 · 12713 阅读 · 0 评论 -
UITableView编辑模式详解
UITableView的编辑模式:1.删除模式 _data = [[NSMutableArray alloc]initWithObjects:@"1",@"2",@"3",@"4",@"5", nil]; // Do any additional setup after loading the view. _table = [[UITableView原创 2013-06-18 01:08:29 · 5423 阅读 · 0 评论