Dynamic init method, the instance created by this method have a dynamic row count, it's row will change with the value you setting
@param number the initial number you want to display
@param fontSize the number font size you want
@param signSetting the sign setting for DPScrollNumberLabel, you have three option: unsigned, normal, signed. see SignSetting enum declaration for detail.
Dynamic init method, the instance created by this method have a dynamic row count, it's row will change with the value you setting
@param number the initial number you want to display
@param fontSize the number font size you want
@param textColor the number color you want
@param signSetting the sign setting for DPScrollNumberLabel, you have three option: unsigned, normal, signed. see SignSetting enum declaration for detail.
Dynamic init method, the instance created by this method have a dynamic row count, it's row will change with the value you setting
@param number the initial number you want to display
@param font the number font you want
@param signSetting the sign setting for DPScrollNumberLabel, you have three option: unsigned, normal, signed. see SignSetting enum declaration for detail.
Dynamic init method, the instance created by this method have a dynamic row count, it's row will change with the value you setting
@param number the initial number you want to display
@param font the number font you want
@param textColor the number color you want
@param signSetting the sign setting for DPScrollNumberLabel, you have three option: unsigned, normal, signed. see SignSetting enum declaration for detail.
Static init method, the instance created by this method have a comfirmed row count,
if your value's row bigger than the comfirmed row, it won't have effect
@param number the initial number you want to display
@param fontSize the number font size you want
@param rowNumber the row count of DPScrollNumberLabel, it means the row count will be changeless
@return the instance of DPScrollNumberLabel
*/
-(instancetype)initWithNumber:(NSNumber*)number
fontSize:(CGFloat)fontSize
rowNumber:(NSUInteger)rowNumber;
/**
Static init method, the instance created by this method have a comfirmed row count,
if your value's row bigger than the comfirmed row, it won't have effect
@param number the initial number you want to display
@param fontSize the number font size you want
@param textColor the number color you want
@param rowNumber the row count of DPScrollNumberLabel, it means the row count will be changeless
@return the instance of DPScrollNumberLabel
*/
-(instancetype)initWithNumber:(NSNumber*)number
fontSize:(CGFloat)fontSize
textColor:(UIColor*)textColor
rowNumber:(NSUInteger)rowNumber;
/**
Static init method, the instance created by this method have a comfirmed row count,
if your value's row bigger than the comfirmed row, it won't have effect
@param number the initial number you want to display
@param fontSize the number font size you want
@param signSetting the sign setting for DPScrollNumberLabel, you have three option: unsigned, normal, signed. see SignSetting enum declaration for detail.
@param rowNumber the row count of DPScrollNumberLabel, it means the row count will be changeless
@return the instance of DPScrollNumberLabel
*/
-(instancetype)initWithNumber:(NSNumber*)number
fontSize:(CGFloat)fontSize
signSetting:(SignSetting)signSetting
rowNumber:(NSUInteger)rowNumber;
/**
Static init method, the instance created by this method have a comfirmed row count,
if your value's row bigger than the comfirmed row, it won't have effect
@param number the initial number you want to display
@param fontSize the number font size you want
@param textColor the number color you want
@param signSetting the sign setting for DPScrollNumberLabel, you have three option: unsigned, normal, signed. see SignSetting enum declaration for detail.
@param rowNumber the row count of DPScrollNumberLabel, it means the row count will be changeless
@return the instance of DPScrollNumberLabel
*/
-(instancetype)initWithNumber:(NSNumber*)number
fontSize:(CGFloat)fontSize
textColor:(UIColor*)textColor
signSetting:(SignSetting)signSetting
rowNumber:(NSUInteger)rowNumber;
/**
Static init method, the instance created by this method have a comfirmed row count,
if your value's row bigger than the comfirmed row, it won't have effect
@param number the initial number you want to display
@param font the number font you want
@param textColor the number color you want
@param rowNumber the row count of DPScrollNumberLabel, it means the row count will be changeless
@return the instance of DPScrollNumberLabel
*/
-(instancetype)initWithNumber:(NSNumber*)number
font:(UIFont*)font
textColor:(UIColor*)textColor
rowNumber:(NSUInteger)rowNumber;
/**
Static init method, the instance created by this method have a comfirmed row count,
if your value's row bigger than the comfirmed row, it won't have effect
@param number the initial number you want to display
@param font the number font you want
@param signSetting the sign setting for DPScrollNumberLabel, you have three option: unsigned, normal, signed. see SignSetting enum declaration for detail.
@param rowNumber the row count of DPScrollNumberLabel, it means the row count will be changeless
@return the instance of DPScrollNumberLabel
*/
-(instancetype)initWithNumber:(NSNumber*)number
font:(UIFont*)font
signSetting:(SignSetting)signSetting
rowNumber:(NSUInteger)rowNumber;
/**
Static init method, the instance created by this method have a comfirmed row count,
if your value's row bigger than the comfirmed row, it won't have effect
@param number the initial number you want to display
@param font the number font you want
@param textColor the number color you want
@param signSetting the sign setting for DPScrollNumberLabel, you have three option: unsigned, normal, signed. see SignSetting enum declaration for detail.
@param rowNumber the row count of DPScrollNumberLabel, it means the row count will be changeless
@return the instance of DPScrollNumberLabel
*/
-(instancetype)initWithNumber:(NSNumber*)number
font:(UIFont*)font
textColor:(UIColor*)textColor
signSetting:(SignSetting)signSetting
rowNumber:(NSUInteger)rowNumber;
/**
When you want to change the display value, you can use this method,
and the interval of scroll animation will be calculated automatically
@param number the number you want to display
@param animated if you pass NO, the label will display your number without animation