Giter Site home page Giter Site logo

redditfeed's Introduction

RedditFeed

App build using Xcode9.0.1

Task

Task.pdf

Notes:

  • Architecture

I’ve used simple MVC approach + services DI into models. Adding flow coordinator to manage navigation and passing data between controllers.

  • Network

Connection to Reddit API goes through https://www.reddit.com/top.json. No ssl handling or custom urlSessions, wanted to leave it as simple as possible.

  • Restoration

Restoration is covered by image page. The navigation stack and image link is cached and restored on relaunch.

  • Tests

Code basics are pretty much covered. There is an issue with making Photos framework a dependency, but it can be hidden behind a protocol. Didn’t want to spend too much time on it. The same goes for ApiClient and some parts of models. The approach is just to inject stuff like UrlSession with default values and mock them in test cases. Also ignored ViewControllers.

redditfeed's People

Contributors

quarezz avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.