https://github.com/asaday/ezhtmlas
html to attributed string libs
https://github.com/asaday/ezhtmlas
attributedstring html swift xcode
Last synced: 18 days ago
JSON representation
html to attributed string libs
- Host: GitHub
- URL: https://github.com/asaday/ezhtmlas
- Owner: asaday
- License: mit
- Created: 2016-10-16T06:37:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-09T05:22:10.000Z (about 6 years ago)
- Last Synced: 2024-10-13T02:17:53.412Z (7 months ago)
- Topics: attributedstring, html, swift, xcode
- Language: Swift
- Size: 110 KB
- Stars: 9
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EzHTMLAS
[](https://travis-ci.org/asaday/EzHTMLAS)
[](http://cocoadocs.org/docsets/EzHTMLAS)
[](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 = "hello
boldfaceXXX"
view.addSubview(lbl)