Skip to content

Template iOS app using Clean Architecture and MVVM. Includes DIContainer, FlowCoordinator, DTO, Response Caching and one of the views in SwiftUI

Notifications You must be signed in to change notification settings

id-2/iOS-Clean-Architecture-MVVM

Repository files navigation

Sample iOS application using Clean Architecture and MVVM

iOS Project implemented with Clean Layered Architecture and MVVM.

Medium post with detail description about this project: https://tech.olx.com/clean-architecture-and-mvvm-on-ios-c9d167d9f5b3

Architecture concepts used here:

Includes:

  • Unit Tests for Use Cases(Domain Layer), ViewModels(Presentation Layer), NetworkService (Infrastructure Layer)
  • UI test with XCUITests
  • Size Classes in Detail view
  • SwiftUI example, demostration that presentation layer does not change, only UI (Xcode 11 Beta)

Requirements:

  • Xcode Version 10.2.1 with Swift 5.0

How to use app:

To search a movie, write a name of a movie inside searchbar and hit search button. There are two network calls: request movies and request poster images. Every successful search query is stored persistently. There are two concurrent requests: Fetch movies and fetch movie offer. Screen loading finishes when both of them are complete.

About

Template iOS app using Clean Architecture and MVVM. Includes DIContainer, FlowCoordinator, DTO, Response Caching and one of the views in SwiftUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 99.9%
  • Ruby 0.1%