123456789101112131415161718192021222324252627282930313233 |
- //
- // JTNumberScrollAnimatedView.h
- // JTNumberScrollAnimatedView
- //
- // Created by Jonathan Tribouharet
- //
- #import <UIKit/UIKit.h>
- @protocol JTNumberScrollAnimatedViewDelegate <NSObject>
- - (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<JTNumberScrollAnimatedViewDelegate> delegate;
- - (void)startAnimation;
- - (void)stopAnimation;
- @end
|