Skip to content

Commit 10cebdc

Browse files
committed
Feature
1 parent e979799 commit 10cebdc

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Assets/autocomplete.png

88.5 KB
Loading

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ Lyt
22
===
33
[![Build Status](https://travis-ci.org/robotmedia/Lyt.png)](https://travis-ci.org/robotmedia/Lyt)
44

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:
610

711
```objective-c
812
[view lyt_centerInParent];
@@ -33,6 +37,12 @@ NSArray *constraints = [NSLayoutConstraint constraintsWithVisualFormat:@"H:|-mar
3337
[view.superview addConstraints:constraints];
3438
```
3539
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+
![Build Status](Assets/autocomplete.png)
45+
3646
##License
3747
3848
Copyright 2013 [Robot Media SL](http://www.robotmedia.net)

0 commit comments

Comments
 (0)