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
07c722f28a9bcd3802b5987e4f4853c30300d107
1 parent
109b193a
Update README.md
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
README.md
README.md
View file @
07c722f
...
...
@@ -111,9 +111,9 @@ view.mas_baseline | NSLayoutAttributeBaseline
if you want view.left to be greater than or equal to label.left :
```
obj-c
//these two constraints are exactly the same
make.left.greaterThanOrEqual(label);
make.left.greaterThanOrEqual
To
(label);
make.left.greaterThanOrEqual
(label.
left);
make.left.greaterThanOrEqual
To(label.mas_
left);
```
#### 3. NSNumber
...
...
@@ -138,9 +138,9 @@ view.width
Priorities are can be tacked on to the end of a constraint chain like so:
```
obj-c
make.left.greaterThanOrEqualTo(label.left).with.priorityLow();
make.left.greaterThanOrEqualTo(label.
mas_
left).with.priorityLow();
make.top.equal(label.top).with.priority(600);
make.top.equal(label.
mas_
top).with.priority(600);
```
### Composition, composition, composition
...
...
Please
register
or
login
to post a comment