Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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

bold
faceXXX"
view.addSubview(lbl)