Swifty News

The main goal was to show how Combine and SwiftUI work together using the MVVM pattern.

No third-party packages were used in this application.

The underlying Combine framework was used to write the network layer (including error handling) and run the application's business logic. The laconic SwiftUI was chosen to visually display our data.

Below you can see functionality of my app.

Снимок экрана 2021-10-25 в 13 25 45

Снимок экрана 2021-10-25 в 13 26 18

Both on Search and Source screen we have a reactive binding that allows us to update the screens as we typing information immediately.

Снимок экрана 2021-10-25 в 13 26 07

Снимок экрана 2021-10-25 в 13 28 37

It's the way how our network layer catch the errors.

Снимок экрана 2021-10-25 в 13 35 23