Fork me on GitHub

Alex Rupérez

Link: http://j.mp/2RjYHw7
Published: 14 Jun 12:39
I starred kitasuke/SwiftUI-MVVM at GitHub.
Sample iOS project built by SwiftUI + MVVM and Combine framework using GitHub API
View on GitHub


View README


SwiftUI-MVVM

One of the biggest idea for having MVVM is that most of data flow can be testable. Data binding in view layer by SwiftUI is awesome. However, this project has view model layer to make it testable as much as possible.
This idea can be achieved by Flux or Redux as well, but I chose MVVM first because it's handy.

Requirements

Xcode 11.0 Beta 5+
Swift 5.1+

More examples

See other architectures as well