mirror of https://github.com/SnapKit/SnapKit
12 lines
532 B
Markdown
12 lines
532 B
Markdown
|
## 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.
|