File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 2
2
===
3
3
[ ![ Build Status] ( https://travis-ci.org/robotmedia/Lyt.png )] ( https://travis-ci.org/robotmedia/Lyt )
4
4
5
- A UIView category to make autolayout (more) readable and less verbose. Write this:
5
+ A UIView category to make autolayout (more) readable and less verbose.
6
+
7
+ ##Better semantics with less code
8
+
9
+ Lyt allows you to express the intent of your constraint. Write this:
6
10
7
11
``` objective-c
8
12
[view lyt_centerInParent ];
@@ -33,6 +37,12 @@ NSArray *constraints = [NSLayoutConstraint constraintsWithVisualFormat:@"H:|-mar
33
37
[ view.superview addConstraints: constraints ] ;
34
38
```
35
39
40
+ ##Designed for code completion
41
+
42
+ Type `lyt_` and then the layout action you want (e.g., `center`) to see what's available.
43
+
44
+ 
45
+
36
46
##License
37
47
38
48
Copyright 2013 [Robot Media SL](http://www.robotmedia.net)
You can’t perform that action at this time.
0 commit comments