Latest 0.0.2
Homepage https://github.com/jasonhotsauce/WZTransitionLabel
License MIT
Platforms ios 6.0, requires ARC
Frameworks UIKit, Foundation
Authors

WZTransitionLabel is a subclass of UILabel that provide custom transition when switching label’s text.

wztransitionlabel

INSTALL

You can install it by adding pod 'WZTransitionLabel' to your pod spec, or just simply drag WZTransitionLabel.h adn WZTransitionLabel.m to your project.

USAGE

WZTransitionLabel *label = [[WZTransitionLabel alloc] initWithFrame:CGRectMake(0, 0, 300, 200)];
label.attributedText = [[NSAttributedString alloc] initWithString:@"test string" attributes:@{NSForegroundColorAttributeName: [UIColor blackColor]}];
NSAttributedString *toString = [[NSAttributedString alloc] initWithString:@"another string" [email protected]{NSForegroundColorAttributeName:[UIColor redColor]}];
[label transiteToAttributedString:toString animated:YES duration:1.5];

Latest podspec

{
    "name": "WZTransitionLabel",
    "version": "0.0.2",
    "summary": "WZTransitionLabel is a subclass of UILabel that provide custom transition when switching label's text.",
    "homepage": "https://github.com/jasonhotsauce/WZTransitionLabel",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Wenbin Zhang": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/jasonhotsauce/WZTransitionLabel.git",
        "tag": "0.0.2"
    },
    "source_files": "WZTransitionLabel",
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This