Skip to content

这里是一个UILabel的扩展,主要用于数字的动态变换,比如从1000到2500的动态增加,从2000-1000的动态减少等。详情可参考Demo

Notifications You must be signed in to change notification settings

ScottZg/AnimationNumLabel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

AnimationNumberLabel

动态数字

  • 将工程里面的AnimationNumberLabelExtension拖入自己的工程即可。

  • 效果如下:
    animationLabel.gif

  • 使用方法

    • 导入类库
    #import "UILabel+AnimationNumberLabel.h * 然后直接使用UILabel的实例去调用:- (void)animationFromNum:(CGFloat)fromNum toNum:(CGFloat)toNum andWithDuration:(CGFloat)time;方法即可。
  • 详情可查看Demo。


  • 更新记录1.0
    • 更新时间:2016年1月21日。
    • 更新内容:添加了暂停的功能,只需要调用 stopRunning方法即可。

About

这里是一个UILabel的扩展,主要用于数字的动态变换,比如从1000到2500的动态增加,从2000-1000的动态减少等。详情可参考Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published