Bladeren bron

Update docs to reflect current api. (#701)

docs still used deprecated 'uninstall()'
Brad Patras 5 jaren geleden
bovenliggende
commit
e5bc2ced4b
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      docs.md

+ 1 - 1
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)