Touch readme

This commit is contained in:
Robert Payne 2016-01-27 01:12:32 +13:00
parent 61b4016202
commit 8fbe3c18bd
1 changed files with 3 additions and 2 deletions

View File

@ -12,10 +12,10 @@ import SnapKit
class MyViewController: UIViewController { class MyViewController: UIViewController {
lazy var box = UIView() lazy var box = UIView()
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
self.view.addSubview(box) self.view.addSubview(box)
box.snp_makeConstraints { (make) -> Void in box.snp_makeConstraints { (make) -> Void in
make.width.height.equalTo(50) make.width.height.equalTo(50)
@ -26,6 +26,7 @@ class MyViewController: UIViewController {
} }
``` ```
## Resources ## Resources
* [Documentation](http://snapkit.io/docs/) * [Documentation](http://snapkit.io/docs/)