Latest 1.0.1
Homepage https://github.com/android1989/YetiCharacterLabelExample
License MIT
Platforms ios 7.0, requires ARC
Frameworks Foundation, CoreText, QuartzCore
Authors

YetiCharacterLabelExample

UILabel subclass to perform text effects

Blog Post: https://swiftyeti.com/texteffects-with-nslayoutmanager

CharacterText uses NSLayoutManager to position CATextLayers for each glyph in your string. This gives you the power to create some neat text effect using all the attributes of CATextLayer.

CharacterText is inspired from Secret & the new iOS8 autocomplete effect.

Usage

CharacterLabel can be used in place of UILabel.

You can subclass CharacterLabel to then create your own animations. Three examples are provided: FallingLabel, FadingLabel, and MotionLabel.

FallingLabel:

FallingLabel

FadingLabel:

FadingLabel

MotionLabel:

MotionLabel

CocoaPods:

You can add this to your project by using CocoaPods: YETICharacterLabel

Swift Version:
https://github.com/android1989/CharacterText

Latest podspec

{
    "name": "YETICharacterLabel",
    "version": "1.0.1",
    "authors": {
        "Andrew Hulsizer": "[email protected]"
    },
    "homepage": "https://github.com/android1989/YetiCharacterLabelExample",
    "summary": "UILabel subclass that renders each glyph on its own CATextLayer, allowing for advanced text effects.",
    "source": {
        "git": "https://github.com/android1989/YetiCharacterLabelExample.git",
        "tag": "v1.0.1"
    },
    "source_files": "YETICharacterLabel/*/*.{h,m}",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "frameworks": [
        "Foundation",
        "CoreText",
        "QuartzCore"
    ],
    "social_media_url": "https://twitter.com/swiftyeti"
}

Pin It on Pinterest

Share This