摘要:
A blog about Core Animation and other iOS graphics frameworks. https://www.calayer.com/ 阅读全文
posted @ 2019-01-31 19:32
zzfx
阅读(124)
评论(0)
推荐(0)
摘要:
矢量图、gpu直接使用、占用内存小 What Shape Layers Are Shape layers are layers capable of defining shapes as vectors. Because they’re defined as vectors, they are re 阅读全文
posted @ 2019-01-31 19:30
zzfx
阅读(197)
评论(0)
推荐(0)
摘要:
例如:我们新建一个SubLayer类继承自CALayer,则在SubLayer.m中重写此方法。如下: + (id)defaultValueForKey:(NSString *)key { if ([key isEqualToString:@"backgroundColor"]) { return 阅读全文
posted @ 2019-01-31 18:23
zzfx
阅读(315)
评论(0)
推荐(0)
摘要:
Transactions are CoreAnimation's mechanism for batching multiple layer- tree operations into atomic updates to the render tree. Every modification to 阅读全文
posted @ 2019-01-31 17:44
zzfx
阅读(982)
评论(0)
推荐(0)
摘要:
动画的定义:视图+时间+空间+速度 视图信息的时空变换; 视图组的按时间逐帧展示; Core Animation 类的继承关系图 Core Animation 类的继承关系图 各类常用属性 CAMediaTiming:CALayer和Core Animation都实现了这个协议,它模拟了一个定时系统 阅读全文
posted @ 2019-01-31 16:51
zzfx
阅读(335)
评论(0)
推荐(0)
摘要:
1、语言与系统; 2、架构与机制; 3、性能:cpu、gpu、io、缓存、内存;性能监测工具; 4、知名开源库; 阅读全文
posted @ 2019-01-31 16:37
zzfx
阅读(301)
评论(0)
推荐(0)