diff --git a/docs.md b/docs.md index 9863df1..c231a2b 100644 --- a/docs.md +++ b/docs.md @@ -257,7 +257,7 @@ view1.snp.makeConstraints { (make) -> Void in ... // then later you can call -self.topConstraint.uninstall() +self.topConstraint.deactivate() // or if you want to update the constraint self.topConstraint.updateOffset(5)