Latest 0.1.1
Homepage https://github.com/slavenko/SMCounterLabel
License MIT
Platforms ios 9.0
Authors

CI Status
Version
License
Platform

Screenshot

Screenshot

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

//Format type integer/decimal/fancy
label.formatType = .decimal

//How long it takes to animate one character
label.duration = 0.6

//How long to wait before the next character starts animating
label.delay = 0.2

//If for some reason you want the 
//animation to slow down towards the end
label.durationIncrement = 0.0

//Text color obviously
label.color = .darkGray

//Set the label value
label.setValue(1234.56)

Requirements

Installation

SMCounterLabel is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SMCounterLabel'

Author

Slavenko Miljic, [email protected]

License

SMCounterLabel is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SMCounterLabel",
    "version": "0.1.1",
    "summary": "Animated UILabel subclass.",
    "swift_version": "4.2",
    "description": "A numeric label that animates value change with a stock-like animation",
    "homepage": "https://github.com/slavenko/SMCounterLabel",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "slavenko": "[email protected]"
    },
    "source": {
        "git": "https://github.com/slavenko/SMCounterLabel.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "SMCounterLabel/Classes/**/*"
}

Pin It on Pinterest

Share This