omerio / newsreader

Simple App demo that displays news articles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

News Reader

Simple demo app that loads and displays news articles. There are 4 versions of the app:

  • Newsreader-mvc: implements the app using a MVC architecture
  • Newsreader-mvc-c: uses MVC with the Coordinator pattern
  • Newsreader-mvvm-c: uses Model-View-ViewModel (MVVM) with the Coordinator pattern
  • Newsreader-mvvm-c-r: uses MVVM with the Coordinator, but extracts netwoking logic from view models to separate repository classes
  • Newsreader-mvvm-c-rx: uses MVVM with the Coordinator pattern and RxSwift

Installation

CocoaPods

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

API Key

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.

Requirements

  • Cocoapods
  • iOS 11.0
  • Xcode 9, Swift 4

About

Simple App demo that displays news articles


Languages

Language:Swift 98.8%Language:Ruby 1.2%