Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asaday/ezhtmlas
html to attributed string libs
https://github.com/asaday/ezhtmlas
attributedstring html swift xcode
Last synced: 2 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-09T05:22:10.000Z (over 5 years ago)
- Last Synced: 2024-10-13T02:17:53.412Z (about 1 month 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
[![Build Status](https://travis-ci.org/asaday/EzHTMLAS?branch=master)](https://travis-ci.org/asaday/EzHTMLAS)
[![Version Status](https://img.shields.io/cocoapods/v/EzHTMLAS?style=flat)](http://cocoadocs.org/docsets/EzHTMLAS)
[![Platform](http://img.shields.io/cocoapods/p/EzHTMLAS?style=flat)](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)