码迷,mamicode.com
首页 >  
搜索关键字:ios8 uitableviewcell uitableview    ( 3831个结果
下拉刷新原理实现
http://blog.csdn.net/kqjob/article/details/9891065#comments在移动应用开发中,无论是Android还是IOS应用,经常可以看到下拉列表松开后自动刷行数据,在IOS中,使用下拉刷新UITableView中的数据用的非常多,最典型的就是新浪微博的...
分类:其他好文   时间:2014-05-11 17:05:24    阅读次数:425
优化UITableView滚动性能
自定义的cell 第一个:Instruments测试,iphone4 38fps-45fps,iphone3G 25fps // table with normal XIB based cells - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)in...
分类:其他好文   时间:2014-05-11 14:55:50    阅读次数:389
ios UITableView 相关
tableView 实现的方法 无分组的cell #pragma mark - Table view data source - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return self.contacts.count; } - (UITable...
分类:移动开发   时间:2014-05-09 21:03:32    阅读次数:424
取消记录tableView选中效果
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {      [self.tableView deselectRowAtIndexPath:[self.tableView indexPathForSelectedRow] animated:YES]; }...
分类:其他好文   时间:2014-05-08 17:23:54    阅读次数:261
UITableViewCell自定义
待完善
分类:其他好文   时间:2014-05-08 16:44:29    阅读次数:182
UITableView表视图
待完善
分类:其他好文   时间:2014-05-08 16:36:47    阅读次数:195
UITableView 左划删除
-(BOOL)tableView:(UITableView*)tableViewcanEditRowAtIndexPath:(NSIndexPath*)indexPath{returnYES;}-(void)tableView:(UITableView*)tableViewcommitEditingStyle:(UITableViewCellEditingStyle)editingStyleforRowAtIndexPath:(NSIndexPath*)indexPath{if(editingStyle==U..
分类:其他好文   时间:2014-05-08 16:33:27    阅读次数:205
UItableView 加手势冲突问题的解决
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch{ // 获取点击的view的类名 NSLog(@"%@", NSStringFromCla.....
分类:其他好文   时间:2014-05-07 20:25:47    阅读次数:404
UITableView随笔笔记
UITableView 继承自UIScrollView,所以可以滚动,但只能是纵方向上的。UITableView由section和cell组成,填充的内容来自数据源,一般数据源由ViewController作为代理,因此需要遵循它的两个协议,分别是UITableViewDataSource 和UIT...
分类:其他好文   时间:2014-05-07 09:59:32    阅读次数:324
iOS开发- iOS7显示偏差(UITableView下移)解决办法
之前碰到过一个问题。 就是利用storyboard拖动出来的控件, 在iOS7上跑老是莫名的下移。比如这样(红色区域为多余的)解决办法:iOS7在Conttoller中新增了这个属性:automaticallyAdjustsScrollViewInsets,当设置为YES时(默认YES),如果视图里面存在唯一一个UIScrollView或其子类View,那么它会自动设置相应的内边距,这样可以让sc...
分类:移动开发   时间:2014-05-07 04:26:17    阅读次数:513
3831条   上一页 1 ... 380 381 382 383 384 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!