Skip to content

Commit

Permalink
Merge pull request #448 from andreyoshev/master
Browse files Browse the repository at this point in the history
update readme
  • Loading branch information
robertjpayne authored Sep 20, 2017
2 parents 14f40f7 + b256028 commit 1b78a15
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit 1b78a15

Please sign in to comment.