Popularity
1.0
Growing
Activity
0.0
Stable
25
5
3

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
License: MIT License
Tags: Text     iOS     Style    
Latest version: v1.0

Veneer alternatives and similar libraries

Based on the "Text" category.
Alternatively, view Veneer alternatives based on common mentions on social networks and blogs.

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