Latest 1.0
Homepage https://github.com/wess/veneer
License MIT
Platforms ios 9.0

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

Latest podspec

{
    "name": "Veneer",
    "version": "1.0",
    "summary": "Building NSAttributedStrings with style",
    "description": "A simple library for building attributed strings, for a more civilized age.",
    "homepage": "https://github.com/wess/veneer",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": "Wess Cope",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/wess/veneer.git",
        "tag": "1.0"
    },
    "source_files": "Veneer/Sources/*.*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This