mirror of https://github.com/SnapKit/SnapKit
commit
053eaca59b
2
docs.md
2
docs.md
|
@ -95,7 +95,7 @@ let box = UIView()
|
||||||
superview.addSubview(box)
|
superview.addSubview(box)
|
||||||
|
|
||||||
box.snp_makeConstraints { (make) -> Void in
|
box.snp_makeConstraints { (make) -> Void in
|
||||||
make.edges.equalTo(superview).inset(UIEdgeInsetsMake(20, 20, 20, 20))
|
make.edges.equalTo(superview).insets(UIEdgeInsetsMake(20, 20, 20, 20))
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue