- 博客(4)
- 收藏
- 关注
原创 xcode 删除模拟器 Simulator
sudo rm -rf /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 8.4.simruntime
2016-11-07 14:15:30
3249
原创 利用NSRunLoop优化大图加载
思路是把原来一次runloop完成的操作,放在多次runloop里完成。 别人写的例子 https://github.com/diwu/RunLoopWorkDistribution
2016-11-02 15:27:10
390
原创 导致离屏渲染的几种情况
1.custom drawRect:(any, even if you simply fill the background with color) 2.CALayer corner radius 3.CALayer shadow 4.CALayer mask 5.any custom drawing using CGContext
2016-11-01 16:44:43
1065
原创 layoutSubviews什么时候触发
1.init 不触发 2.addSubview触发 3.设置view的frame会触发 4.滚动scrollView会触发 5.旋转Screen 6.改变view的大小,触发父类的 7.直接调用setLayoutSubViews触发
2016-11-01 15:44:49
362
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅