EzHTMLAS
[
](http://cocoapods.org/?q= EzHTMLAS)
html string to attributed string libs
swift 3.2 use 0.0.x
UILabel, UITextView, UIButton extention
you can use .HTML method. easy to use html like string to attributed string.
let lbl = UILabel()
lbl.numberOfLines = 0
lbl.HTML = "<span align=center><font size=10 line-height=20>hello</font><br/><br/> <b>bold</b></span><i class=\"material-icons\"></i></span><i class=\"material-icons 30 -10\">face</i>XXX"
view.addSubview(lbl)