dos

DossyText

A subclass of UILabel reminiscent of Strong Bad's faithful Tandy 400.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

75

Maintenance

Last Commit

2yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

DossyTextLabel 📟

A subclass of UILabel reminiscent of Strong Bad's faithful Tandy 400 and MS-DOS of yore.

Installation

Manual (read: Easy)

You can simply add the DossyText.swift file to your project

CocoaPods (read: Overkill)

You can use CocoaPods to install DossyText by adding it to your Podfile:

pod 'DossyText'

Usage

Simply create an instance of DossyTextLabel and add it to your view hierarchy however you would like:

let dossyLabel = DossyTextLabel()

Modify it as you would any UILabel:

dossyLabel.textColor = UIColor.cyan
dossyLabel.numberOfLines = 0
dossyLabel.lineBreakMode = .byWordWrapping

...and type away! ⌨️:

dossyLabel.type("Hello world!\nHow are you today?")

More granular modifications

Adjust the speed of the typing by changing millisecondsPerLetter. 70 is a pretty good place to start 🏃🏼.

blinksWhileIdle -- When the typing ends the blinking animation will (or will not) automatically start.

Meta(l!!! 🎸🎸🎸)

Joey Nelson – @jedmondnjoeyedmondnelson@gmail.com

Distributed under the MIT license. See LICENSE for more information.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100