Skip to content
Sample iOS project built by SwiftUI + MVVM and Combine framework using GitHub API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
SwiftUI-MVVM.xcodeproj Support Xcode 11 beta 2 Jun 18, 2019
SwiftUI-MVVMTests Use @published Aug 8, 2019
.gitignore Initial commit Jun 5, 2019


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.


Xcode 11.0 Beta 5+
Swift 5.1+

More examples

See other architectures as well

You can’t perform that action at this time.