![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS
jlstmac3
这个作者很懒,什么都没留下…
展开
-
UIView各种属性解析!
UIView作为iOS中界面元素的基类,几乎所有应用中的所有可见元素都是基于UIView的!学习iOS的UI,得从UIView学起!!! 1.关于位置和大小 @property(nonatomic) CGRect frame; frame表示UIView的位置和大小,其中位置是以左上角为锚点的 @property(nonatomi原创 2016-02-04 15:33:26 · 417 阅读 · 0 评论 -
UITableView性能优化之estimatedHeightForRowAtIndexPath
- (CGFloat)tableView:(UITableView *)tableView estimatedHeightForRowAtIndexPath:(NSIndexPath *)indexPath 这个方法是iOS7之后增加的,作用就是优化UITableView的性能,确切的说就是减少UITableView加载时的时间。 原理: 这个方法之所以能起到优化作用原因在于 -(原创 2016-02-16 16:01:31 · 4402 阅读 · 0 评论