From 0b1e2d9e3f19ad9a1b39255cd5f41a4cbc564d27 Mon Sep 17 00:00:00 2001 From: Robert Payne Date: Thu, 30 Jul 2015 19:28:27 +1200 Subject: [PATCH] Updated docs to reflect insets change --- docs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs.md b/docs.md index 303f53d..fdf0cc4 100644 --- a/docs.md +++ b/docs.md @@ -95,7 +95,7 @@ let box = UIView() superview.addSubview(box) box.snp_makeConstraints { (make) -> Void in - make.edges.equalTo(superview).insets(UIEdgeInsetsMake(20, 20, 20, 20)) + make.edges.equalTo(superview).inset(UIEdgeInsetsMake(20, 20, 20, 20)) } ``` @@ -204,7 +204,7 @@ make.edges.equalTo(view2); // make top = superview.top + 5, left = superview.left + 10, // bottom = superview.bottom - 15, right = superview.right - 20 -make.edges.equalTo(superview).insets(UIEdgeInsetsMake(5, 10, 15, 20)) +make.edges.equalTo(superview).inset(UIEdgeInsetsMake(5, 10, 15, 20)) ``` #### size