From e5bc2ced4ba6117968ffec45ecb3b2e65207eca2 Mon Sep 17 00:00:00 2001 From: Brad Patras Date: Thu, 18 Feb 2021 15:17:50 -0600 Subject: [PATCH] Update docs to reflect current api. (#701) docs still used deprecated 'uninstall()' --- docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)