Update automatic-layout-basics.md (#2169)

This commit is contained in:
liujiemin
2016-08-31 12:57:50 -07:00
committed by Adlai Holler
parent 60005e7af7
commit 5b1cd4aabb

View File

@@ -8,7 +8,7 @@ nextPage: automatic-layout-containers.html
##Box Model Layout
ASLayout is an automatic, asynchronous, purely Objective-C box model layout feature. It is a simplified version of CSS flex box, loosely inspired by ComponetKits Layout. It is designed to make your layouts extensible and reusable.
ASLayout is an automatic, asynchronous, purely Objective-C box model layout feature. It is a simplified version of CSS flex box, loosely inspired by ComponentKits Layout. It is designed to make your layouts extensible and reusable.
`UIView` instances store position and size in their `center` and `bounds` properties. As constraints change, Core Animation performs a layout pass to call `layoutSubviews`, asking views to update these properties on their subviews.