// // JTNumberScrollAnimatedView.h // JTNumberScrollAnimatedView // // Created by Jonathan Tribouharet // #import @protocol JTNumberScrollAnimatedViewDelegate - (void)numberScrollAnimatedViewTime:(float )time; @end @interface JTNumberScrollAnimatedView : UIView @property (strong, nonatomic) NSNumber *value; @property (strong, nonatomic) UIColor *textColor; @property (strong, nonatomic) UIFont *font; @property (assign, nonatomic) CFTimeInterval duration; @property (assign, nonatomic) CFTimeInterval durationOffset; @property (assign, nonatomic) NSUInteger density; @property (assign, nonatomic) NSUInteger minLength; @property (assign, nonatomic) BOOL isAscending; @property(nonatomic, weak) id delegate; - (void)startAnimation; - (void)stopAnimation; @end