Update docs to reflect current api. (#701)

docs still used deprecated 'uninstall()'
This commit is contained in:
Brad Patras 2021-02-18 15:17:50 -06:00 committed by GitHub
parent 5a012e926a
commit e5bc2ced4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ view1.snp.makeConstraints { (make) -> Void in
... ...
// then later you can call // then later you can call
self.topConstraint.uninstall() self.topConstraint.deactivate()
// or if you want to update the constraint // or if you want to update the constraint
self.topConstraint.updateOffset(5) self.topConstraint.updateOffset(5)