Committed by
GitHub
Merge pull request #448 from andreyoshev/master
update readme
Showing
1 changed file
with
9 additions
and
3 deletions
@@ -389,11 +389,17 @@ Get busy Masoning | @@ -389,11 +389,17 @@ Get busy Masoning | ||
389 | 389 | ||
390 | Copy the included code snippets to ``~/Library/Developer/Xcode/UserData/CodeSnippets`` to write your masonry blocks at lightning speed! | 390 | Copy the included code snippets to ``~/Library/Developer/Xcode/UserData/CodeSnippets`` to write your masonry blocks at lightning speed! |
391 | 391 | ||
392 | -`mas_make` -> `[<view> mas_makeConstraints:^(MASConstraintMaker *make){<code>}];` | 392 | +`mas_make` -> ` [<#view#> mas_makeConstraints:^(MASConstraintMaker *make) { |
393 | + <#code#> | ||
394 | + }];` | ||
393 | 395 | ||
394 | -`mas_update` -> `[<view> mas_updateConstraints:^(MASConstraintMaker *make){<code>}];` | 396 | +`mas_update` -> ` [<#view#> mas_updateConstraints:^(MASConstraintMaker *make) { |
397 | + <#code#> | ||
398 | + }];` | ||
395 | 399 | ||
396 | -`mas_remake` -> `[<view> mas_remakeConstraints:^(MASConstraintMaker *make){<code>}];` | 400 | +`mas_remake` -> ` [<#view#> mas_remakeConstraints:^(MASConstraintMaker *make) { |
401 | + <#code#> | ||
402 | + }];` | ||
397 | 403 | ||
398 | ## Features | 404 | ## Features |
399 | * Not limited to subset of Auto Layout. Anything NSLayoutConstraint can do, Masonry can do too! | 405 | * Not limited to subset of Auto Layout. Anything NSLayoutConstraint can do, Masonry can do too! |
-
Please register or login to post a comment