Skip to content

prolificinteractive/TickerCounter

Repository files navigation

TickerCounter

Description

A counter with a ticker animation.

Requirements

  • iOS 9.0+

Installation

CocoaPods

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'

Usage

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()

Contributing to TickerCounter

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.

License

prolific

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.