Coder Social home page Coder Social logo

streakfeed-ios's Introduction

streakfeed-ios

Project for Spire Streaks Feed Challenge

##Requirements

  • User can vertically scroll (both upwards and downwards) to see all historical streaks with descending days
  • For each streak, a "streak card" is rendered with the following data: streak type, duration and start time
  • For streaks that have an associated photo, display the photo on the streak card
  • For streaks that have an associated location, display a map frame of the location on the streak card
  • For streaks that have both an associated location and photo, only display the photo on the streak card
  • If there aren't streaks for a certain day, display a "No Streaks for Today" line item

##Mockup mockup

##TODO for Production

  • Unit Testing - I started building and writing code as I went along. Need to write some tests
  • Proper Code Documentation - Currently no documentation in code.
  • Local Test Data - Currently pulling from REST server and using that as my sole data source.
  • Error handling - Currently displaying a generic error message for all errors
  • Data Persistence - Currently no data persistence, and no caching. App needs to always pull data from the server.
  • Switch between Production, Staging, and Development URLS
  • Data Model Optimizations - Currently a lot of calculations to organize data after pulling from the server, which will be an issue for very large amounts of data. Should spend some time optimizing
  • tableview optimizations - Used some open source to pull some data in background, but the tableview still slightly lags when scrolling, so there are some expensive calls are still occurring in the main thread. Will optimize later.
  • architecture restructure - View Controller can use some decoupling. A lot of logic can be moved elsewhere.
  • localization - currently, no string localization.

##Demo demo

streakfeed-ios's People

Contributors

mybadrybad 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.