【文件属性】:
文件名称:EasingAnimation:用于缓动动画
文件大小:150KB
文件格式:ZIP
更新时间:2021-06-30 14:03:22
C
EasingAnimation
This class is used for Easing animation.
Easy to understand
You can use it to build your own animation
How to use
Import the header
and use like this:
// 计算好起始值,结束值
CGFloat oldValue = 0.f;
CGFloat newValue = 1.f;
// 关键帧动画
CAKeyframeAnimation *animation = \
[CAKeyframeAnimation animationWithKeyPath:@"transform.rotation.z"];
// 设置值
[animation setValues:[YXEasing calculate
【文件预览】:
EasingAnimation-master
----YXEasing.h(3KB)
----缓动函数速查表.zip(80KB)
----YXEasing.m(3KB)
----easing.png(69KB)
----easing.h(2KB)
----README.md(946B)
----easing.c(6KB)