Cocoa-Animation
七月July
平和
展开
-
CABasicAnimation animationWithKeyPath 一些规定的值
CABasicAnimation animationWithKeyPath 一些规定的值CABasicAnimation animationWithKeyPath TypesWhen using the ‘CABasicAnimation’ from the QuartzCore Framework in Objective-C, you have to specify an转载 2014-07-08 14:59:01 · 495 阅读 · 0 评论 -
iOS动画笔记之关键帧动画
之所以叫做关键帧动画是因为,这个类可以实现,某一属性按照一串的数值进行动画,就好像制作动画的时候一帧一帧的制作一样。一般使用的时候 首先通过 animationWithKeyPath 方法 创建一个CAKeyframeAnimation实例, CAKeyframeAnimation 的一些比较重要的属性1. path这是一个 CGPathRef 对象,默认是空的,当我们创建原创 2014-08-29 15:52:31 · 585 阅读 · 0 评论 -
iOS动画笔记之----CAMediaTiming
@property CFTimeInterval beginTime;/* 基本动画的持续时间 */@property CFTimeInterval duration;/* xua */@property float speed;/* Additional offset in active local time. i.e. to conv原创 2014-08-28 16:58:10 · 745 阅读 · 0 评论 -
iOS7中弹簧式列表的制作
转载自:http://onevcat.com/2013/09/spring-list-like-ios7-message/本文涉及到的WWDC2013 Session有Session 206 Getting Started with UIKit DynamicsSession 217 Exploring Scroll Views in iOS7UIScrollVie转载 2015-01-09 23:51:54 · 1215 阅读 · 0 评论 -
iOS新特性之转场动画
UIViewControllerAnimatedTransitioning 这个类可以实现自定义控制器转场dong转载 2014-07-08 13:50:56 · 557 阅读 · 0 评论 -
CAAnimation动画的一些知识点
CAAnimation动画的一些知识点动画分隐式动画和显式动画CAAnimatione采用了CAMediaTiming协议,可以调整时间,包括持续时间,速度,重复次数;采用了CAAction协议,可以通过响应动作的方式来显示动画.CAAnimation的一些派生类:CATransition 提供渐变效果:(推拉push效果,消退fade效果,揭开reveal转载 2014-04-17 21:08:58 · 447 阅读 · 0 评论 -
iOS7 UIMotionEffect学习笔记
NS_CLASS_AVAILABLE_IOS(7_0)@interface UIInterpolatingMotionEffect : UIMotionEffect- (instancetype)initWithKeyPath:(NSString *)keyPath type:(UIInterpolatingMotionEffectType)type;// designat原创 2014-06-26 16:17:24 · 1845 阅读 · 0 评论