Coder Social home page Coder Social logo

bitcoin-history's Introduction

Bitcoin history projecet

This project has been structured with 3 main targets and 2 tests targets (Main app tests and thee kit tests):

Main targets

1. Bitcoin history (main app)

This target is where the UI scenes of the app are handled. This app consists of two scenes; master and detail. It has been structured in that way to use the epower of UISplitViewController and have an iPad and iPhone app at the same time. Also this structure can be used to get a mac app using projecet Catalyst.

To handle the loading state in the master list, placeholder cells have beeen created, and while results are fetched are presented. Otherwise in the detail view, a placeholder view with a cta has been used, as the detail in iPad is bigger than thee main scene, and it looks nicer in both platforms (iOS and iPad).

2. Today extension

This extensions fetch the today rate for the device currency locale, and updates it every 10 seconds

3. BHKit

This kit has been created in order to share code beetween the main app and the today extension. It handles the main logic, and it's main functionality is to fetch the data from the network and unify it to make it easier to handle the presentation in the UI.

It has been created in order to make the code testable and the classes that handles heavy work are separated with dependency injection to inject a Mem in case no heavy work is wantede to be done.

In the Date+ (Date extension), the date formatter and the calendar have been created as static to only create those instances once, as the cost to load them are heavy.

bitcoin-history's People

Contributors

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