...
|
...
|
@@ -2,6 +2,7 @@ Masonry |
|
|
=======
|
|
|
|
|
|
Masonary is a light-weight layout framework which wraps AutoLayout with a nicer syntax. Masonary 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.
|
|
|
Masonry supports iOS and Mac OSX.
|
|
|
|
|
|
For examples take a look at the **Masonry iOS Examples** project in the Masonry workspace.
|
|
|
|
...
|
...
|
@@ -120,7 +121,7 @@ view.mas_centerX | NSLayoutAttributeCenterX |
|
|
view.mas_centerY | NSLayoutAttributeCenterY
|
|
|
view.mas_baseline | NSLayoutAttributeBaseline
|
|
|
|
|
|
#### 2. UIView
|
|
|
#### 2. UIView/NSView
|
|
|
|
|
|
if you want view.left to be greater than or equal to label.left :
|
|
|
```obj-c
|
...
|
...
|
@@ -263,5 +264,5 @@ Get busy Masoning |
|
|
|
|
|
## TODO
|
|
|
* Eye candy
|
|
|
* Mac support
|
|
|
* Mac example project
|
|
|
* More tests and examples |
...
|
...
|
|