Add migration guide

This commit is contained in:
Robert Payne 2016-09-14 21:28:57 +12:00
parent 054d81c84f
commit 4e2c897cab
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
## SnapKit 3.0 Migration Guide
SnapKit 3.0 has many breaking changes from earlier versions. You can read the [changelog](https://github.com/SnapKit/SnapKit/blob/master/CHANGELOG.md) for more details.
1. Upgrade SnapKit installation
2. Find all `snp_` and replace with `snp.`
3. Find all `equalTo(UIEdgeInsets)` and ensure any right or bottom inset values are no longer inverted
4. Build and fix deprecated APIs
5. Test every screen of UI to ensure visual compatibility
If you find any issues with migration please open an issue.