摘要: 影响 UITableView 滚动的流畅性的原因1、 在代理方法中做了过多的计算占用了 UI 线程的时间2、同上3、Cell 中 view 的组织复杂关于第一点,首先要明白 tableview 的代理(这里指 datasource 和 delegate 的那套方法,下同)方法的调用顺序,和时机。对于... 阅读全文
posted @ 2014-08-28 21:58 codeTao 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 一.IOS6的UITableViewCell 子视图(subviews)的容器是UITableViewCellContentView IOS7的UITableViewCell 子视图(subviews)的容器是UITableViewCellScrollView 由于IOS7中添加了滑动后出现编辑按钮... 阅读全文
posted @ 2014-08-28 13:29 codeTao 阅读(429) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"@interface ViewController (){ UITableView *_table; NSMutableArray *_dataList; UIView *footView;}@end@implementation ViewC... 阅读全文
posted @ 2014-08-28 12:07 codeTao 阅读(357) 评论(0) 推荐(0) 编辑