1234567891011121314151617181920 |
- //
- // SPScrollNumLabel.h
- // SPScrollNumLabel
- //
- // Created by Tree on 2017/11/21.
- // Copyright © 2017年 Tr2e. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- IB_DESIGNABLE
- @interface SPScrollNumLabel : UILabel
- @property (nonatomic, assign) IBInspectable NSInteger targetNumber;// default is 0
- @property (nonatomic, assign) IBInspectable CGFloat animateDuration;// default is 0.25
- @property (nonatomic, assign) IBInspectable BOOL isCommonLabel;// default is NO
- @property (nonatomic, assign) BOOL centerPointPriority;// default is NO
- - (void)increaseNumber:(NSInteger)increasedNum;
- - (void)decreaseNumber:(NSInteger)decreasedNum;
- @end
|