MMKAnimation

@interface MMKAnimation : NSObject

The animation that is used to switch between states.

Summary

Class methods

+ (nonnull MMKAnimation *)animationWithType:( MMKAnimationType)type
                                   duration:( float)duration;

Properties

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

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

Class methods

animationWithType:duration:

+ (nonnull MMKAnimation *)animationWithType:( MMKAnimationType)type
                                   duration:( float)duration;


Properties

type

@property (nonatomic, readonly) MMKAnimationType type;

Animation type.


duration

@property (nonatomic, readonly) float duration;

Animation duration, in seconds.