mirror of https://github.com/SnapKit/SnapKit
Update docs to reflect current api. (#701)
docs still used deprecated 'uninstall()'
This commit is contained in:
parent
5a012e926a
commit
e5bc2ced4b
2
docs.md
2
docs.md
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue