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
-
startValueThe start value of the tween.
property -
currentValueThe current value of the tween. Setting this property updates the target property.
property -
endValueThe end value of the tween.
property -
deltaThe animation delta (endValue - startValue)
property
Properties
currentValue
The current value of the tween. Setting this property updates the target property.
@property (nonatomic, assign) float currentValueDiscussion
The current value of the tween. Setting this property updates the target property.
Declared In
SPTweenedProperty.hdelta
The animation delta (endValue - startValue)
@property (nonatomic, readonly) float deltaDiscussion
The animation delta (endValue - startValue)
Declared In
SPTweenedProperty.hInstance 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)endValueDiscussion
Initializes a tween property on a certain target. The start value will be zero.
Declared In
SPTweenedProperty.h