From ce3bb65b73fea8886df78efcde6ab80747155cca Mon Sep 17 00:00:00 2001 From: Robert Payne Date: Wed, 27 Jan 2016 00:00:26 +1300 Subject: [PATCH] Updated readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 031dcb2..f49428d 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,12 @@ import SnapKit class MyViewController: UIViewController { lazy var box = UIView() - + override func viewDidLoad() { super.viewDidLoad() - + self.view.addSubview(box) - box.snp_makeConstraints { (make) -> Void in + box.snp.makeConstraints { (make) -> Void in make.width.height.equalTo(50) make.center.equalTo(self.view) }