Popularity
0.8
Declining
Activity
0.0
Stable
27
3
5

Description

Veneer was created to make creating attributed strings easier to read and write. Taking inspiration from SnapKit, Veneer uses blocks to construct the attributes and produce an NSAttributedString.

Code Quality Rank: L5
Programming language: Swift
Tags: Text     iOS     Style    
Latest version: v1.0

Veneer alternatives and similar libraries

Based on the "Text" category

Do you think we are missing an alternative of Veneer or a related project?

Add another 'Text' Library

README

Veneer

A simple library for building attributed strings, for a more civilized age.


Veneer was created to make creating attributed strings easier to read and write. Taking inspiration from SnapKit, Veneer uses blocks to construct the attributes and produce an NSAttributedString.


Installation:

pod "Veneer"

Usage:


 let attrString = NSAttributedString(string: "Hello World") { make in
                    make.font(UIFont.boldSystemFontOfSize(32.0))
                    make.backgroundColor(.red
                    make.color(.white)
                  }

  someLabel.attributedText = attrString

Author:

Wess Cope