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
Andrey Oshev
8 years ago
Commit
b2560288d406451156cdc7f9fc1c351474ba78e4
1 parent
7528f5be
update readme
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
README.md
README.md
View file @
b256028
...
...
@@ -389,11 +389,17 @@ Get busy Masoning
Copy the included code snippets to
``~/Library/Developer/Xcode/UserData/CodeSnippets``
to write your masonry blocks at lightning speed!
`mas_make` -> `[<view> mas_makeConstraints:^(MASConstraintMaker *make){<code>}];`
`mas_make` -> `
[<
#view#> mas_makeConstraints:^(MASConstraintMaker
*
make) {
<
#code#>
}];
`
`mas_update` -> `[<view> mas_updateConstraints:^(MASConstraintMaker *make){<code>}];`
`mas_update` -> `
[<
#view#> mas_updateConstraints:^(MASConstraintMaker
*
make) {
<
#code#>
}];
`
`mas_remake` -> `[<view> mas_remakeConstraints:^(MASConstraintMaker *make){<code>}];`
`mas_remake` -> `
[<
#view#> mas_remakeConstraints:^(MASConstraintMaker
*
make) {
<
#code#>
}];
`
## Features
*
Not limited to subset of Auto Layout. Anything NSLayoutConstraint can do, Masonry can do too!
...
...
Please
register
or
login
to post a comment