FMKAnimation Class Reference

Inherits from NSObject
Declared in FMKAnimation.h
FMKAnimation.m

Overview

动画插值基类

Other Methods

– initWithDuration:key:

动画初始化方法

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

Parameters

duration

动画持续时间

key

动画唯一标识

Return Value

动画对象

Discussion

动画初始化方法

Declared In

FMKAnimation.h

– start

开始动画

- (void)start

Discussion

开始动画

Declared In

FMKAnimation.h

– pause

暂停动画

- (void)pause

Discussion

暂停动画

Declared In

FMKAnimation.h

– resume

恢复动画

- (void)resume

Discussion

恢复动画

Declared In

FMKAnimation.h

– stop

停止动画

- (void)stop

Discussion

停止动画

Declared In

FMKAnimation.h

Other Methods

  duration

动画持续时间

@property (nonatomic, assign) NSTimeInterval duration

Discussion

动画持续时间

Declared In

FMKAnimation.h

  key

自定义动画编号

@property (nonatomic, readonly) NSString *key

Discussion

自定义动画编号

Declared In

FMKAnimation.h