An open API service indexing awesome lists of open source software.

https://github.com/kitasuke/SwiftUI-MVVM

Sample iOS project built by SwiftUI + MVVM and Combine framework using GitHub API
https://github.com/kitasuke/SwiftUI-MVVM

Last synced: about 24 hours ago
JSON representation

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

Awesome Lists containing this project

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

- Flux: https://github.com/kitasuke/SwiftUI-Flux
- Redux: https://github.com/kitasuke/SwiftUI-Redux