CAAnimation及其子类二

CAAnimation
  • CAAnimation (super)
    1.CAAnimationGroup
    2.CAPropertyAnimation
    3.CATransition

  • CAAnimation(protocol)
    1.CAMediaTiming

CAAnimation 属性
    • (instancetype)animation;
    • (nullable id)defaultValueForKey:(NSString *)key;
    • (BOOL)shouldArchiveValueForKey:(NSString *)key;
  • @property(nullable, strong) CAMediaTimingFunction *timingFunction;
  • @property(nullable, strong) id delegate;
  • @property(getter=isRemovedOnCompletion) BOOL removedOnCompletion;
CAAnimationDelegate
    • (void)animationDidStart:(CAAnimation *)anim;
    • (void)animationDidStop:(CAAnimation *)anim finished:(BOOL)flag;
CAPropertyAnimation
    • (instancetype)animationWithKeyPath:(nullable NSString *)path;
  • @property(nullable, copy) NSString *keyPath;
  • @property(getter=isAdditive) BOOL additive;
  • @property(getter=isCumulative) BOOL cumulative;
  • @property(nullable, strong) CAValueFunction *valueFunction;
CABasicAnimation : CAPropertyAnimation
  • @property(nullable, strong) id fromValue;
  • @property(nullable, strong) id toValue;
  • @property(nullable, strong) id byValue;
CAKeyframeAnimation : CAPropertyAnimation
  • @property(nullable, copy) NSArray *values;
  • @property(nullable) CGPathRef path;
  • @property(nullable, copy) NSArray *keyTimes;
  • @property(nullable, copy) NSArray *timingFunctions;
  • @property(copy) NSString *calculationMode;
  • @property(nullable, copy) NSArray *tensionValues;
  • @property(nullable, copy) NSArray *continuityValues;
  • @property(nullable, copy) NSArray *biasValues;
  • @property(nullable, copy) NSString *rotationMode;
CASpringAnimation : CABasicAnimation
  • @property CGFloat mass;
  • @property CGFloat stiffness;
  • @property CGFloat damping;
  • @property CGFloat initialVelocity;
  • @property(readonly) CFTimeInterval settlingDuration;
CATransition : CAAnimation
  • @property(copy) NSString *type;
  • @property(nullable, copy) NSString *subtype;
  • @property float startProgress;
  • @property float endProgress;
  • @property(nullable, strong) id filter;
CAAnimationGroup : CAAnimation
  • @property(nullable, copy) NSArray *animations;

你可能感兴趣的:(CAAnimation及其子类二)