Skip to content

O-O-wl/AttriBeauty

Repository files navigation

build pod build platform license

Example

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

Installation

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

pod 'AttriBeauty'

Usage

@IBOutlet var demoLabel: UILabel!

demoLabel.attributedText = demoLabel.text?
            .beautfiy()
            .attriBeauty
            .fgColor(.blue)
            .bgColor(.green).regex("awesome")
            .fgColor(.red).range(NSRange(0...4))
            .font(.boldSystemFont(ofSize: 30))
            .align(.center)
            .apply()
    

스크린샷 2019-12-08 오전 4 10 26

Author

O-O-wl, o.o.wl.soft@gmail.com

License

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

About

Awesome AttributedString DSL ! ✨🔠✨

Resources

License

Stars

Watchers

Forks

Packages

No packages published