
IOS 核心动画
文章平均质量分 77
殇丶无痕
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
IOS_ UIBezierPath + CABasicAnimation + CAShapeLayer
UIView *showView = [[UIViewalloc] initWithFrame:CGRectMake(100,100, 100,100)]; [self.viewaddSubview:showView]; showView.backgroundColor = [UIColorredColor]; UIBezi原创 2016-06-13 11:12:33 · 545 阅读 · 0 评论 -
IOS_ CAKeyframeAnimation
#define kDegreesToRadians(degrees) ((3.14159265359 * degrees)/180)UIView *showView = [[UIViewalloc] initWithFrame:CGRectMake(100,100, 100,100)]; [self.viewaddSubview:sh原创 2016-06-13 11:30:21 · 478 阅读 · 0 评论 -
IOS_ 暂停 继续 layer 层的动画
//暂停 layer层的动画- (void)pauseLayer:(CALayer*)layer{ CFTimeInterval pausedTime = [layerconvertTime:CACurrentMediaTime()fromLayer:nil]; layer.speed =0.0; layer.timeOff原创 2016-06-13 11:58:45 · 760 阅读 · 0 评论 -
IOS_ 仿微信下拉拍照动画
#import @interface EyeView : UIView{ CAShapeLayer *eyeFirstLightLayer; CAShapeLayer *eyeSecondLightLayer; CAShapeLayer *eyeb原创 2016-06-13 16:52:59 · 1094 阅读 · 0 评论