Merge branch 'feature/0.40.0' of github.com:SnapKit/SnapKit into feature/0.40.0

This commit is contained in:
Robert Payne 2016-09-14 20:44:50 +12:00
commit 353e2e38b6
1 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ clean up the API. As such please use with caution and check your apps thoroughly
### Breaking ### Breaking
* iOS 7.0 support has been removed * iOS 7.0 support has been removed
* `install` and `uninstall` have been removed, use `activate` and `deactivate` instead
* DSL is now accessed through `.snp.*` rather than `.snp_*`. For example `view.snp.makeConstraints { }` * DSL is now accessed through `.snp.*` rather than `.snp_*`. For example `view.snp.makeConstraints { }`
* Constraints are now updated through `update(offset:)`, `update(inset:)` and `update(priority:)` * Constraints are now updated through `update(offset:)`, `update(inset:)` and `update(priority:)`
* `.inset()` will no longer take `CGPoint` or `CGSize` as input * `.inset()` will no longer take `CGPoint` or `CGSize` as input
@ -82,4 +83,4 @@ clean up the API. As such please use with caution and check your apps thoroughly
* Re-worked some internal API to allow for future updates * Re-worked some internal API to allow for future updates
* Added `snp_prepareConstraints -> [Constraint]` which allows pre-building of constraints * Added `snp_prepareConstraints -> [Constraint]` which allows pre-building of constraints
* Added a fatal error to `and` when it is used after relation has been set * Added a fatal error to `and` when it is used after relation has been set