Showing
1 changed file
with
2 additions
and
0 deletions
@@ -57,6 +57,8 @@ UIEdgeInsets padding = UIEdgeInsetsMake(10, 10, 10, 10); | @@ -57,6 +57,8 @@ UIEdgeInsets padding = UIEdgeInsetsMake(10, 10, 10, 10); | ||
57 | ]]; | 57 | ]]; |
58 | ``` | 58 | ``` |
59 | Even with such a simple example the code needed is quite verbose and quickly becomes unreadable when you have more than 2 or 3 views. | 59 | Even with such a simple example the code needed is quite verbose and quickly becomes unreadable when you have more than 2 or 3 views. |
60 | +Another option is to use Visual Format Language (VFL), which is a bit less long winded. | ||
61 | +However the ascii type syntax has its own pitfalls and its also a bit harder to animate as `NSLayoutConstraint constraintsWithVisualFormat:` returns an array. | ||
60 | 62 | ||
61 | ## Prepare to meet your Maker! | 63 | ## Prepare to meet your Maker! |
62 | 64 |
-
Please register or login to post a comment