FMKAnimation Class Reference

Inherits from NSObject
Declared in FMKAnimation.h

Overview

动画插值基类

– initWithDuration:key:

动画初始化方法

- (instancetype)initWithDuration:(NSTimeInterval)duration key:(NSString *)key

Parameters

duration

动画持续时间

key

动画唯一标识

Return Value

动画对象

Declared In

FMKAnimation.h

  duration

动画持续时间

@property (nonatomic, assign) NSTimeInterval duration

Declared In

FMKAnimation.h

  key

自定义动画编号

@property (nonatomic, readonly) NSString *key

Declared In

FMKAnimation.h

– start

开始动画

- (void)start

Declared In

FMKAnimation.h

– pause

暂停动画

- (void)pause

Declared In

FMKAnimation.h

– resume

恢复动画

- (void)resume

Declared In

FMKAnimation.h

– stop

停止动画

- (void)stop

Declared In

FMKAnimation.h