Skip to content

Repository files navigation

EzHTMLAS

Build Status Version Status [Platform](http://cocoapods.org/?q= EzHTMLAS)

html string to attributed string libs

for swift 4.2

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)

About

html to attributed string libs

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages