GitHub - kitasuke/SwiftUI-MVVM
source link: https://github.com/kitasuke/SwiftUI-MVVM
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upREADME.md
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
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK