Skip to content

Commit

Permalink
Merge pull request roberthein#86 from lostatseajoshua/patch-1
Browse files Browse the repository at this point in the history
[EZ] Update README edgesToSuperview method name
  • Loading branch information
roberthein authored Jul 14, 2020
2 parents dee2166 + 064ec3c commit d7bd595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ NSLayoutConstraint.activate([
with `TinyConstraints`:

```swift
view.edgesToSuperView()
view.edgesToSuperview()
```

or:

```swift
view.edgesToSuperView(insets: .top(10) + .left(10))
view.edgesToSuperview(insets: .top(10) + .left(10))
```
### Center
Constraining the center of a view to its superview with `NSLayoutConstraint`:
Expand Down

0 comments on commit d7bd595

Please sign in to comment.