One of the problems with SwiftUI is that new APIs are bound to specific OS release and you can’t use those on previous releases. And while we all want users to be on latest OS release, usually that is not the case.
Here backport libraries come into play.
Two libraries to improve SwiftUI new features adoption:
- SwiftUIBackports – ports many of SwiftUI components to previous OS releases;
- NavigationBackport – focuses on new SwiftUI navigation components.
Having these libraries might help migrating app to newer SwiftUI APIs while maintaining support for previous OS releases.
Extensive regression testing is required!
While these libraries claim to provide support for the components, there might be still cases when components behave differently, or failing in some configurations.
Extensive testing will be required on all platforms including current and all previous versions. Testing should be performed on devices running corresponding OS releases.
Developer:Try backport libraries, consider using them to migrate to newer SwiftUI features.
QA engineer:Prepare extensive regression testing suites for previous OS releases. Allocate devices running corresponding OS releases.
PM/DM:Business as usual.
You must log in to post a comment.