Latest 1.2.5
Homepage https://github.com/chuqingr/CHAnimationLabel
License MIT
Platforms ios 8.0, requires ARC
Authors

CI Status
Version
License
Platform

Example

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

Requirements

Installation

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

pod 'CHAnimationLabel'

use

animationType < .easeInOut

let label = CHAnimationLabel(frame: CGRect(x: 33, y: 66, width: 333, height: 133))
label.animationType = .typewriter
///label.animationType = .shine
///label.animationType = .count
label.text = "This is a label with animation effects"
label.textColor = .black
view.addSubview(label)
label.startAnimation(duration: 2, nil)

animationType >= .easeInOut

let label = CHAnimationLabel(frame: CGRect(x: 33, y: 66, width: 333, height: 133))
label.animationType = .easeInOut
///label.animationType = .easeIn
///...
label.text = "This is a label with animation effects"
label.textColor = .black
view.addSubview(label)
label.startCounterAnimation(frome: 0, to: 10000, with: 2) {
    debugPrint("do something")
}

Author

杨胜浩, [email protected]

License

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

Latest podspec

{
    "name": "CHAnimationLabel",
    "version": "1.2.5",
    "summary": "labelu52a8u753b",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/chuqingr/CHAnimationLabel",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u6768u80dcu6d69": "[email protected]"
    },
    "source": {
        "git": "https://github.com/chuqingr/CHAnimationLabel.git",
        "tag": "1.2.5"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "CHAnimationLabel/Classes/**/*"
}

Pin It on Pinterest

Share This