Robert Payne 9 лет назад
Родитель
Сommit
4e2c897cab
1 измененных файлов с 11 добавлено и 0 удалено
  1. 11 0
      Documentation/SnapKit 3.0 Migration Guide.md

+ 11 - 0
Documentation/SnapKit 3.0 Migration Guide.md

@@ -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.