html to attributed string libs
Swift Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
EzHTMLAS.xcodeproj
example
resources
sources
.gitattributes
.gitignore
.swift-version
.travis.yml
EzHTMLAS.podspec
LICENSE
README.md

README.md

EzHTMLAS

Build Status Version Status [Platform](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\">&#xe05c;</i></span><i class=\"material-icons 30 -10\">face</i>XXX"
	view.addSubview(lbl)