We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd0c54 commit 55fd076Copy full SHA for 55fd076
1 file changed
README.md
@@ -109,12 +109,12 @@ NSLayoutConstraint.activate([
109
```swift
110
redView.constrictEdgesToViewController(self, withinGuides: false)
111
112
-blueView.constrict(attributes: .width, .height, constant: 75.0)
+blueView.constrict(attributes: .width, .height, with: .all(75.0))
113
.constrictCenterInViewController(self)
114
115
greenView.constrict(to: blueView, attributes: .width, .centerYGuide)
116
.constrictToSuperview(attributes: .height)
117
- .constrict(.trailing, to: blueView, attribute: .leading, constant: 50.0)
+ .constrict(.trailing, to: blueView, attribute: .leading, with: 50.0)
118
```
119
120
## Sample Project 📲
0 commit comments