From 65de121e2daa4468dc92bbd9e7ae1c7e7f185d42 Mon Sep 17 00:00:00 2001 From: Wess Cope Date: Wed, 13 Jul 2016 14:51:39 -0400 Subject: [PATCH] Update README.md --- README.md | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ef7cd5..7bcbbae 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,34 @@ # Veneer -> A simple library for building attributed strings, for a more civilized age. \ No newline at end of file + +_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: +```ruby +pod "Veneer" +``` + + +### Usage: +--- +```swift + let attrString = NSAttributedString(string: "Hello World") { make in + make.Font(UIFont.boldSystemFontOfSize(32.0)) + make.BackgroundColor(.redColor()) + make.Color(.whiteColor()) + } + + someLabel.attributedText = attrString + +``` + +### Author: +Wess Cope +- me@wess.io +- [@wesscope](https://twitter.com/wesscope)