chiff-app / chiff-ios

The Chiff app for iOS.
Other
5 stars 0 forks source link

Migrate to SwiftUI #4

Closed bas-d closed 3 years ago

bas-d commented 3 years ago

Consider if it is worthwhile to migrate to SwiftUI.

starodubtsevdmitriy commented 3 years ago

I just reviewed code base and from my point of view it's a huge amount of work. It's about 32 view controllers. If we just migrate it to SwiftUI with current architecture it can take about 4-8h per controller. But it's really raw approach. If product will really decide to switch to SwiftUI it's better to change architecture to MVVM and move to reactive approach which Combine framework can give. On my last project I used this kind of architecture approach

https://www.vadimbulavin.com/modern-mvvm-ios-app-architecture-with-combine-and-swiftui/