iOS - Label 数字动态变化
1、数字动态变化 具体实现代码见 GitHub 源码 QExtension QCountingLabel.h /// 文本数字变化方式枚举 typedef NS_ENUM(NSUInteger, QCountingMethod) { QCountingMethodEaseInOut, // 开始结束慢,中间快 QCountingMethodEaseIn, // 开始慢,结束快 QCountingMethodEaseOut, // 开始快,结束慢 QCountingMethodLinear // 匀速 }; @interface QCountingLabel : UILabel /// 文本数字样式,默认为 @"%f" @property (nonatomic, strong) NSString *format; /// 文本数字分隔符样式,例如 @"###,##0.00" @property (nonatomic, strong) NSString *positiveFormat; /// 文本数字变化方式,默认为 EaseInOut @property (nonatomic, ass...