41

GitHub - kitasuke/SwiftUI-MVVM

 4 years ago
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 up
master

Go to file

Code

README.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.

screenshot.png

Requirements

Xcode 11.0 Beta 5+
Swift 5.1+

More examples

See other architectures as well

About

Sample iOS project built by SwiftUI + MVVM and Combine framework using GitHub API

Resources

License

Releases

No releases published

Packages

No packages published

Languages


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK