A simple library for building attributed strings, for a more civilized age.
Swift Ruby Objective-C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Veneer.xcworkspace
Veneer
VeneerExample
.gitattributes
.gitignore
LICENSE
Package.swift
README.md
Veneer.podspec

README.md

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