- 博客(4)
- 收藏
- 关注
原创 UIImageView 平滑过渡图片切换
eg: #import "ViewController.h" @interface ViewController () @property (nonatomic, strong) UIImageView *imageView; @property (nonatomic, copy) NSArray *images; @end @implementation
2017-11-09 17:11:25 2809
原创 CAKeyframeAnimation keyPath可以是用的key
transform.rotation.x 围绕x轴翻转 transform.rotation.y 围绕y轴翻转 transform.rotation.z 围绕z轴翻转 transform.rotation 默认围绕z轴 transform.scale.x x方向缩放 transform.scale.y y方向缩放 transform.scale.z z方向缩放 tra
2017-11-09 16:00:39 658
原创 iOS动画的图层响应用户输入
@interface ViewController () @property (nonatomic, strong) CALayer *colorLayer; @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; //create a r
2017-11-09 14:44:57 220
原创 iOS斜切变换
CGAffineTransform CGAffineTransformMakeShear(CGFloat x, CGFloat y) { CGAffineTransform transform = CGAffineTransformIdentity; transform.c = -x; transform.b = y;
2017-11-08 16:21:53 567
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人