YMKAnimation

@interface YMKAnimation : NSObject

The animation that is used to switch between states.

Summary

Class methods

+ (nonnull YMKAnimation *)animationWithType:( YMKAnimationType)type
                                   duration:( float)duration;

Properties

@property (nonatomic, readonly) YMKAnimationType type;
Animation type

@property (nonatomic, readonly) float duration;
Animation duration, in seconds

Class methods

animationWithType:duration:

+ (nonnull YMKAnimation *)animationWithType:( YMKAnimationType)type
                                   duration:( float)duration;


Properties

type

@property (nonatomic, readonly) YMKAnimationType type;

Animation type.


duration

@property (nonatomic, readonly) float duration;

Animation duration, in seconds.