SPTweenedProperty Class Reference
Inherits from | NSObject |
Declared in | SPTweenedProperty.h |
Overview
An SPTweenedProperty stores the information about the tweening of a single property of an object.
Its currentValue
property updates the specified property of the target object.
This is an internal class. You do not have to use it manually.
Tasks
Initialization
-
– initWithTarget:name:endValue:
Initializes a tween property on a certain target. The start value will be zero.
Properties
-
startValue
The start value of the tween.
property -
currentValue
The current value of the tween. Setting this property updates the target property.
property -
endValue
The end value of the tween.
property -
delta
The animation delta (endValue - startValue)
property
Properties
currentValue
The current value of the tween. Setting this property updates the target property.
@property (nonatomic, assign) float currentValue
Discussion
The current value of the tween. Setting this property updates the target property.
Declared In
SPTweenedProperty.h
delta
The animation delta (endValue - startValue)
@property (nonatomic, readonly) float delta
Discussion
The animation delta (endValue - startValue)
Declared In
SPTweenedProperty.h
Instance Methods
initWithTarget:name:endValue:
Initializes a tween property on a certain target. The start value will be zero.
- (instancetype)initWithTarget:(id)target name:(NSString *)name endValue:(float)endValue
Discussion
Initializes a tween property on a certain target. The start value will be zero.
Declared In
SPTweenedProperty.h