Skip to content

behrad-kzm/Quizer

Repository files navigation

Quiz Application using Clean architecture, MVVM and RxSwift

Installing and build

Dependencies in this project are provided via Cocoapods. Please install all dependecies with

pod install

Build sequence:

Domain > NetworkPlatform > Application

High level overview

Domain

The Domain is basically what is the App about and what it can do (Entities, UseCase etc.) It does not depend on UIKit or any persistence framework, and it doesn't have implementations apart from entities

Platform

The Platform is a concrete implementation of the Domain in a specific platform like iOS. It does hide all implementation details.

Application

Application is responsible for delivering information to the user and handling user input. It can be implemented with any delivery pattern e.g (in quiz app is MVVM). This is the place for UIViews and UIViewControllers. As you will see from the quiz app, ViewControllers are completely independent of the Platform. The only responsibility of a view controller is to "bind" the UI to the Domain to make things happen.

Refrences

Contact me