/Bitcoin-Sample-iOS-App

BitLive is a simple app that displays Bitcoin's current price as well as a 28 day historic chart in USD, GDP & EUR

Primary LanguageSwiftMIT LicenseMIT

alt tag

BitLive

BitLive is a simple app that displays Bitcoin's current price as well as a 28 day historic chart in USD, GDP & EUR. It was created when I received a challenge to complete. My focus was on details and to avoid reinventing the wheel unless necessary. I took advantage of 3 mainstream libraries to complete the task and focused my attention to the design and details such as unit/UI testing, color theme, animation for visual appeal and creating a catchy icon.

Screenshots

iPad iPhone
alt tag alt tag

Challenge

To get to know your development process a little better, we would like to start things off with a small code challenge. Please read the task below and submit your final solution to us complete with source code and documentation.

You may use any set of technologies you see fit, so long as it completes the desired task appropriately, we don’t want to limit your use of libraries or frameworks, but please remember that it’s your code we want to see!

The Task

Create an iPhone app that will fetch the current exchange rate of Bitcoin/EUR (suggested resources will be provided below, however you may decide to use another) and display the data in a graph of your choosing.

The application must:

Fetch the historical data for the last 4 weeks up to today (daily data, 1 value per day) Feed the 28 values into a graph Continuously update the current price for today Cache the data to show a graph "last fetched rates" upon app start while fetching new values Extra mile: Long pressing on a particular day on the graph should flash its value. Also long pressing and dragging to other values should be possible Please develop the application in a way that demonstrates your knowledge of clean, testable code.

Suggested Resources

http://www.coindesk.com/api/

Usage

This repo is such for reference

License

The MIT License (MIT)

Copyright (c) 2016 Ace Green

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.