Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import "Common.h"
- @interface AnimatedFloat : NSObject
- {
- float _startValue;
- NSTimeInterval _startTime;
- BOOL _hasStarted;
- float _endValue;
- NSTimeInterval _endTime;
- BOOL _hasEnded;
- AnimationCurve _curve;
- }
- @property (nonatomic, assign) float startValue;
- @property (nonatomic, assign) NSTimeInterval startTime;
- @property (nonatomic, readonly) BOOL hasStarted;
- @property (nonatomic, assign) float endValue;
- @property (nonatomic, assign) NSTimeInterval endTime;
- @property (nonatomic, readonly) BOOL hasEnded;
- @property (nonatomic, assign) AnimationCurve curve;
- @property (nonatomic, assign) float value;
- +(id)withValue:(float)value;
- +(id)withStartValue:(float)startValue endValue:(float)endValue speed:(float)speed;
- +(id)withStartValue:(float)startValue endValue:(float)endValue forTime:(NSTimeInterval)time;
- -(NSString*)description;
- @end
Add Comment
Please, Sign In to add comment