Giter VIP home page Giter VIP logo

inboxly's Introduction

Inboxly Logo

Inboxly

A little demo how to build a Reactive App using Realm

Where to start?

The master branch contains the final state. If you want to go through this tutorial app yourself, start over at 001_start.

On this branch all Realm-related functionality is ripped out. What remains is just the boilerplate code around setting up view controllers and views.

There are further branches you can follow along. The features, as seen in the source code by TODOs at the beginning of each file are implemented in the following order:

  1. Fetch data from the InboxlyAPI in the DataController.
  2. Implement the FeedTableViewController and the FeedTableViewCell to show messages on the stream.
  3. Implement the CacheController to (fake) download images.
  4. Let the FeedTableViewCell observe for photos, which were downloaded, to display them as soon as they are available while the cell is configured.

There are further steps beyond this to match the final state, which are left open as an exercise.

Notes

The solutions implemented here were used for exemplary purposes and shouldn't necessarily re-applied for real-world use-cases. For example it won't be a good idea to download an image, load it into memory with UIImage, get its png representation, persist that into your database, discard it from memory, just to reload it all over again once it should be displayed. Instead you should achieve far better performance by relying on a proven third-party image caching framework like HanekeSwift, FastImageCache, SDWebImage or one of the many, many others.

Credits

This app was developed by Marin Todorov & Marius Rackwitz.

inboxly's People

Contributors

mrackwitz avatar

Watchers

 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.