Latest 0.2.1
Homepage https://github.com/ritvikupadhyaya/RUSwiftTypewriterLabel
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Demo

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

Or download the project and go to the Example directory and open the RUSwiftTypewriterLabel.xcworkspace workspace file.

Alt Text

Requirements

Installation

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

pod "RUSwiftTypewriterLabel"

or

pod 'RUSwiftTypewriterLabel', '~> 0.2.1'

Author

Ritvik Upadhyaya

License

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

Overview

This is a cool little feature which implements setting a NSMutableAttributedString to be set in a label. The specified label is set one character at a time (think a typewriter) while maintaining all the attributes of the string. Previously, I looked at the existing libraries/sources for typewriter UI, but none retained the attribute of the mutable string.

It is modified from https://github.com/stefandeclerck/SDUILabelTextAnimation

Usage

demoLabel.startTyping(mutedString, typeSpeed: 0.2)

or
default:

demoLabel.startTyping(mutedString)

Latest podspec

{
    "name": "RUSwiftTypewriterLabel",
    "version": "0.2.1",
    "summary": "Cool typewriter animation implementing a NSMutableAttributedString to be set in a label.",
    "description": "This is a cool little feature which implements setting a NSMutableAttributedString to be set in a label. The specified label is set one character at a time (think a typewriter) while maintaining all the attributes of the string. So now you can have different font color, size, types and still have this cool animation.",
    "homepage": "https://github.com/ritvikupadhyaya/RUSwiftTypewriterLabel",
    "license": "MIT",
    "authors": {
        "Ritvik Upadhyaya": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ritvikupadhyaya/RUSwiftTypewriterLabel.git",
        "tag": "0.2.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "RUSwiftTypewriterLabel/Classes/**/*",
    "resource_bundles": {
        "RUSwiftTypewriterLabel": [
            "RUSwiftTypewriterLabel/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This