mirror of https://github.com/SnapKit/SnapKit
Add migration guide
This commit is contained in:
parent
054d81c84f
commit
4e2c897cab
|
@ -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.
|
Loading…
Reference in New Issue