Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ios
/
Masonry
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Jonas Budelmann
12 years ago
Commit
85451028c752e26cdeadd14e2858062bf9ad611a
1 parent
f921a748
Update README.md
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
README.md
README.md
View file @
8545102
...
...
@@ -227,13 +227,13 @@ which means your console output can now look like this:
Unable to simultaneously satisfy constraints......blah blah blah....
(
"<NSAutoresizingMaskLayoutConstraint:0x8887740 MASExampleDebuggingView:superview.height == 416>",
"<MASLayoutConstraint:ConstantConstraint UILabel:view3.height >= 5000>",
"<MASLayoutConstraint:BottomConstraint UILabel:view3.bottom == MASExampleDebuggingView:superview.bottom - 10>",
"<MASLayoutConstraint:ConflictingConstraint[0] UILabel:view3.top == MASExampleDebuggingView:superview.top + 1>"
"<MASLayoutConstraint:ConstantConstraint UILabel:messageLabel.height >= 5000>",
"<MASLayoutConstraint:BottomConstraint UILabel:messageLabel.bottom == MASExampleDebuggingView:superview.bottom - 10>",
"<MASLayoutConstraint:ConflictingConstraint[0] UILabel:messageLabel.top == MASExampleDebuggingView:superview.top + 1>"
)
Will attempt to recover by breaking constraint
<MASLayoutConstraint:ConstantConstraint UILabel:
view3
.height >= 5000>
<MASLayoutConstraint:ConstantConstraint UILabel:
messageLabel
.height >= 5000>
```
For an example of how to set this up take a look at the
**MasonryExamples**
project in the Masonry workspace.
...
...
@@ -251,11 +251,13 @@ Get busy Masoning
>`#import "Masonry.h"`
## Features
*
Orsome debug support, give your views and constraints meaningful names.
*
Not limited to subset of Auto Layout. Anything NSLayoutConstraint can do, Masonry can do to!
*
Great debug support, give your views and constraints meaningful names.
*
Constraints read like sentences.
*
No crazy macro magic. Masonry won't pollute the global namespace with macros.
*
Not string or dictionary based and hence you get compile time checking.
## TODO
*
Eye candy
*
Mac support
*
More tests and examples
...
...
Please
register
or
login
to post a comment