FMKValueAnimation Class Reference

Inherits from FMKAnimation : NSObject
Declared in FMKValueAnimation.h
FMKValueAnimation.m

Overview

自定义动画

Other Methods

  delegate

动画回调代理

@property (nonatomic, weak) id<FMKAnimationDelegate> delegate

Discussion

动画回调代理

Declared In

FMKValueAnimation.h

  interpolator

设置动画插值器对象

@property (nonatomic, strong) FMKInterpolator *interpolator

Discussion

设置动画插值器对象

Declared In

FMKValueAnimation.h

  repeatCount

重复次数

@property (nonatomic) NSUInteger repeatCount

Discussion

重复次数

Declared In

FMKValueAnimation.h

– setFromValue:count:

设置起始值

- (void)setFromValue:(double *)fromValues count:(NSUInteger)count

Parameters

fromValues

起始值

count

起始值的数量

Discussion

设置起始值

Declared In

FMKValueAnimation.h

– setToValue:count:

设置终止值

- (void)setToValue:(double *)toValues count:(NSUInteger)count

Parameters

toValues

终止值

count

终止值数量

Discussion

设置终止值

Declared In

FMKValueAnimation.h

  fromValue

起始值

@property (nonatomic, retain) id fromValue

Discussion

起始值

Declared In

FMKValueAnimation.h

  toValue

终点值

@property (nonatomic, retain) id toValue

Discussion

终点值

Declared In

FMKValueAnimation.h

Other Methods

– initWithDuration:key:

动画初始化方法

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

Parameters

duration

动画持续时间

key

动画唯一标识

Return Value

动画对象

Discussion

动画初始化方法

Declared In

FMKAnimation.h

– key

自定义动画编号

- (NSString *)key

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