摘要:
POP动画引擎是facebook提供的一个开源框架, 可以实现很多的动画效果, 这里就不一一介绍啦, 有兴趣的童鞋请移步:https://github.com/facebook/pop下面简单的讲一下POP动画引擎中Layer与CALayer的区别:这里, 代码做的都是同一个效果: 执行位移动画3秒... 阅读全文
posted @ 2016-01-25 22:32
Rinpe
阅读(776)
评论(0)
推荐(0)
摘要:
CADisplayLink类似NSTimer是一个定时器,只不过是一秒会调用60次指定的方法使用方法:#import "ViewController.h"@interface ViewController ()@property (nonatomic, strong) CADisplayLink *... 阅读全文
posted @ 2016-01-25 20:51
Rinpe
阅读(543)
评论(0)
推荐(0)
摘要:
效果图: 代码部分: RPGradientAnimationView.h #import <UIKit/UIKit.h> typedef enum : NSUInteger { RPGradientAnimationViewColorDirectionUpToDown = 1, // 从上到下 RP 阅读全文
posted @ 2016-01-25 16:22
Rinpe
阅读(310)
评论(0)
推荐(0)
摘要:
效果图:github:https://github.com/RinpeChen/CAGradientLayerBasicDemo 阅读全文
posted @ 2016-01-25 10:36
Rinpe
阅读(398)
评论(0)
推荐(0)

浙公网安备 33010602011771号