SnapKit/Documentation/SnapKit 3.0 Migration Guide.md

12 lines
532 B
Markdown
Raw Normal View History

2016-09-14 17:28:57 +08:00
## 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.