Showing
1 changed file
with
1 additions
and
1 deletions
@@ -72,7 +72,7 @@ UIEdgeInsets padding = UIEdgeInsetsMake(10, 10, 10, 10); | @@ -72,7 +72,7 @@ UIEdgeInsets padding = UIEdgeInsetsMake(10, 10, 10, 10); | ||
72 | or ever shorter | 72 | or ever shorter |
73 | ```obj-c | 73 | ```obj-c |
74 | [view1 makeConstraints:^(MASConstraintMaker *make) { | 74 | [view1 makeConstraints:^(MASConstraintMaker *make) { |
75 | - make.edges.equalTo(superview).insets(padding); | 75 | + make.edges.equalTo(superview).with.insets(padding); |
76 | }]; | 76 | }]; |
77 | ``` | 77 | ``` |
78 | 78 |
-
Please register or login to post a comment