Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nrivard authored Sep 12, 2017
1 parent 5800205 commit eb2b796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ or
[subview constraintsEqualToGuide:view boundToAnchors:LayoutAnchorRelationFrame constant:0.0 activate:YES];
```
Autolayup takes care of making sure your autoresizing mask is turned off, by default activates your constraints, and lets you specify actual relationships much more easily. Another common scenario is creating constraints that are set off the same amount, like leading and trailing margin from your superview:
Autolayup takes care of making sure your autoresizing mask is turned off, by default activates your constraints, and lets you specify actual relationships much more easily. Another common scenario is creating constraints that are set off by the same amount, like leading and trailing margin from your superview:
```swift
subview.opposingConstraintsFor(view, boundTo: [.leading, .trailing], offsetBy: 8.0)
Expand Down

0 comments on commit eb2b796

Please sign in to comment.