This demo app showcases our implementation of the MVVM pattern for SwiftUI/Combine apps. It enables:
- Separation of concerns, so multiple developers know and understand what they are working on.
- Having SwiftUI Previews with mock data to efficiently develop and review UI, sometimes directly with designers and product owners.
- Having an architecture which is suitable for Unit Testing and UI Testing so we can have a high Code Coverage of our app and thus ensure correctness of our software. Further reading: check out our medium blog post on this topic (https://medium.com/swlh/swiftui-app-architecture-124b0199d52c?source=friends_link&sk=a491a0b06d64c3c2f93e8eacfa7f13b6)
- iOS 13.0 as we are using SwiftUI.
- SBB CFF FFS AG