Simple demo app that loads and displays news articles. There are 4 versions of the app:
Newsreader-mvc
: implements the app using a MVC architectureNewsreader-mvc-c
: uses MVC with the Coordinator patternNewsreader-mvvm-c
: uses Model-View-ViewModel (MVVM) with the Coordinator patternNewsreader-mvvm-c-r
: uses MVVM with the Coordinator, but extracts netwoking logic from view models to separate repository classesNewsreader-mvvm-c-rx
: uses MVVM with the Coordinator pattern and RxSwift
CocoaPods needs to be installed to run this demo app. Once installed, run the followings command in each project's root folder to configure and open the project:
pod install
An API key is necessary to successfully connect to the API that the app uses. Once an API key has been aquired, change the apiKey
property in HttpConfiguration.swift
and run the app.
- Cocoapods
- iOS 11.0
- Xcode 9, Swift 4