From 7ba2c3f99fb7dffc135b7e053e34e8fd19acca32 Mon Sep 17 00:00:00 2001 From: Robert Payne Date: Wed, 30 Jul 2014 00:02:27 +1200 Subject: [PATCH] Updated Readme Added note about why the prefixing has been changed and how Snappy is not compatible from Objective-C --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e2f72a8..1190844 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ Snappy is a light-weight layout framework which wraps AutoLayout with a nicer syntax. Snappy has its own layout DSL which provides a chainable way of describing your NSLayoutConstraints which results in layout code that is more concise and readable. Snappy supports iOS and Mac OS X. +> Snappy uses some Swift only features like function overloading it cannot be used from Objective-C. Because of this we’ve chosen to swap prefixes from Masonry’s `mas_` to `snp_` so you can use both Masonry and Snappy in the same project. + ## What's wrong with NSLayoutConstraints? Under the hood Auto Layout is a powerful and flexible way of organising and laying out your views. However creating constraints from code is verbose and not very descriptive.