Skip to content
Sample app implementing MVVM using SwiftUI and Combine to search for images on
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.
PixabayMVVMSwiftUICombine.xcodeproj Switch to remove SwityHUDView Jun 10, 2019
PixabayMVVMSwiftUICombine Remove unused file Jun 11, 2019
PixabayMVVMSwiftUICombineTests Add tests Jun 10, 2019
PixabayMVVMSwiftUICombineUITests Add tests Jun 10, 2019
LICENSE Add readme Jun 10, 2019 Add readme Jun 10, 2019
swiftui_combine.png Add readme Jun 10, 2019

MVVM with SwiftUI & Combine

Before WWDC 2019, most of MVVM implementations use some popular reactive framework such as RxSwift, ReactiveSwift or ReactiveKit along with their UI Binding counterparts such as RxCocoa, ReactiveCocoa or Bond.

In WWDC 2019, Apple introduces two awesome frameworks which replace those frameworks to provide reactive programming and UI Binding completely. From now own, developers can implement MVVM architecture for their apps using only native frameworks which provide many benefit such as stability, binary app size and consistent APIs etc...

This project demonstrate how to implement MVVM using SwiftUI and Combine to search and display images from There are also some tests to demonstrate the testability of the implementation.

Required Xcode 11 to compile.


MIT License.

You can’t perform that action at this time.