openboy2012 / flickernumber Goto Github PK
View Code? Open in Web Editor NEWFlicker a number like alipay use UILabel category
Home Page: http://dwz.cn/IRT9f
Flicker a number like alipay use UILabel category
Home Page: http://dwz.cn/IRT9f
rangeInteger value is always zero
need to take a float value
和一个CAAnimate 一起使用的时候, 时间不准, 设定十秒到100, 实际三秒左右就到了
谢谢你开源这个实用方便,功能准确而实用的库。
在调用时,如果传入的duration为0.0时,显示的结果为(无限大)符号。
在- (void)dd_setNumber:(NSNumber *)number duration:(NSTimeInterval)duration format:(NSString *)formatStr numberFormatter:(NSNumberFormatter *)formatter attributes:(id)attrs
加入一下代码后正常
if (duration < 0) {
duration = 0;
}
if (duration <= 0.000001) {
self.text = [self finalString:number stringFormat:formatStr andFormatter:formatter];
return;
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.