Crotalus 0.2.1

Crotalus 0.2.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Nov 2015
SPMSupports SPM

Maintained by Draveness, draveness.



Crotalus 0.2.1

  • By
  • Draveness

Crotalus

Crotalus is an convenient and fast approach to create AttributedString in Swift. This library is inspired by colorize which is a ruby gem colorize string.

If you would like to use chainable syntax in Objective-C use Typeset instead.

With Crotalus

With Cratalus, you can create attributed string much more easier than other way.

"Hello".crotalus.color(0xff0000).match("He").color(0x00ff00).all.fontName("Sanrif").string

Usage

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

Requirements

Installation

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

pod "Crotalus"

Author

Draveness, [email protected]

License

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