Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 519 Bytes

File metadata and controls

17 lines (14 loc) · 519 Bytes

EasyAttributedString

How to use it:

"Hello NSAttributedString".typeset
                          .color(color: UIColor.whiteColor())
                          .font(font: UIFont.systemFontOfSize(20))
                          .range(6, lenght: 18)
                          .font(font: UIFont.boldSystemFontOfSize(40))
                          .contains("NSAttributedString")
                          .color(color: UIColor.yellowColor()).string