Forráskód Böngészése

Updated Readme

Added note about why the prefixing has been changed and how Snappy is not compatible from Objective-C
Robert Payne 11 éve
szülő
commit
7ba2c3f99f
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      README.md

+ 2 - 0
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.