A counter with a ticker animation.
- iOS 9.0+
TickerCounter is available through CocoaPods. To install
it, simply add the following line to your Podfile
:
pod 'TickerCounter', :git => 'https://github.com/ProlificInteractive/TickerCounter.git', :tag => '0.2.0'
Create a TickerCounter
instance and tell it to animate:
let tickerCounter = TickerCounter(frame: CGRect(x: 0, y: 100, width: view.frame.width, height: 65))
tickerCounter.value = 12345
view.addSubview(tickerCounter)
tickerCounter.startAnimation()
To report a bug or enhancement request, feel free to file an issue under the respective heading.
If you wish to contribute to the project, fork this repo and submit a pull request. Code contributions should follow the standards specified in the Prolific Swift Style Guide.
Copyright (c) 2018 Prolific Interactive
TickerCounter is maintained and sponsored by Prolific Interactive. It may be redistributed under the terms specified in the LICENSE file.