From 2d735aaf119c205da3bf7c81d16ba47d81172eaf Mon Sep 17 00:00:00 2001 From: Tyler Fox Date: Sun, 2 Mar 2014 14:29:24 -0800 Subject: [PATCH] Update README --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 62a8bea..d31a594 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ UIView+AutoLayout The ultimate API for creating Auto Layout constraints -- impressively simple, immensely powerful. Comprised of categories on `UIView`, `NSArray`, and `NSLayoutConstraint`. -UIView+AutoLayout provides a developer-friendly interface for the vast majority of Auto Layout use cases. It is designed for clarity and simplicity, taking inspiration from the Auto Layout UI options available in Interface Builder but delivering far more flexibility and capability. The API is also highly efficient, adding only a thin layer of third party code and being engineered for maximum performance (for example, automatically adding constraints to the nearest ancestor view). +UIView+AutoLayout provides a developer-friendly interface for the vast majority of Auto Layout use cases. It is designed for clarity and simplicity, taking inspiration from the Auto Layout UI options available in Interface Builder but delivering far more flexibility and capability. The API is also highly efficient, as it adds only a thin layer of third party code and is engineered for maximum performance (for example, by automatically adding constraints to the nearest ancestor view). API Cheat Sheet --------------- @@ -19,6 +19,7 @@ This is just a handy overview of the core API methods. Check out the [header fil * \+ autoRemoveConstraint(s): * \- autoRemoveConstraintsAffectingView(AndSubviews) * \+ autoSetPriority:forConstraints: +* \- autoSetContent(CompressionResistance | Hugging)PriorityForAxis: * \- autoCenterInSuperview: * \- autoAlignAxisToSuperviewAxis: * \- autoPinEdge(s)ToSuperviewEdge(s):withInset(s): @@ -85,7 +86,7 @@ Check out some [Tips and Tricks](https://github.com/smileyborg/UIView-AutoLayout Limitations ----------- -* Will need to use the `NSLayoutConstraint` SDK API directly for some uncommon advanced use cases +* May need to use the `NSLayoutConstraint` SDK API directly for some extremely uncommon use cases UIView+AutoLayout vs. the rest ------------------------------ @@ -106,7 +107,7 @@ An overview of the Auto Layout options available, ordered from the lowest- to hi * Cons: Not the most concise or pure expression of layout code * High-level layout frameworks ([Masonry](https://github.com/cloudkite/Masonry), [KeepLayout](https://github.com/iMartinKiss/KeepLayout)) * Pros: Very clean, simple, and convenient - * Cons: Cannot mix with SDK APIs, total dependency on third party code, potential compatibility issues when SDK changes + * Cons: Heavy dependency on third party code, cannot mix with SDK APIs, potential compatibility issues with SDK changes, overloaded Objective-C syntax Problems, Suggestions, Pull Requests? -------------------------------------