- Add each coin's current price in Canadian Dollars (CAD) to both the coin table, and the detail page.
- Wiring in the favorite button to the CoreData store: when the user selects the favorite button this selection should be saved to a persistent store that is saved between launches. If a favorited selection is ‘unfavorited’, this should be dealt with additionally.
- Favorited cryptocurrencies should always be displayed at the top of the table.
- The detail page has back/forward buttons with no constraints. Add constraints to make these buttons align with the coin title text.
- Back/forward buttons should be implemented to navigate between cryptocurrencies, following the same ordering from what is displayed on the main TableView.
- App should function properly on iPad and iPhone
Feel free to do whatever is needed to this code (including starting from scratch); nothing is off-limits. Some of the existing code will be problematic &/or follow bad conventions, if you notice any of this, please refactor or fix as necessary. All code should follow Swift conventions, and if existing code does not meet this bar, it should be adjusted.
Changes should be documented. A writeup about what was done, and why it was implemented in a specific way, will be helpful in understanding any decisions that were made. Please include information about any code you changed (and why) and any observations you have made about the existing code. If there are any changes to the project setup/compiling process, please include necessary steps (e.g. using a dependency manager, adding layout frameworks).
Please time box work to no more than 4 hours of work.
If you have additional time, please feel free improve maintainability, perform larger refactors, or implement any of the additional features below:
- animations (e.g. button clicks, custom segues, moving between detail VCs)
- dynamic app themes
- caching
- infinite scrolling
- sorting of any kind
- custom coin queries (see API for additional arguments)
- biometric app protection (requiring finger/face)
If time is running short, please spend more time documenting how you would implement the above requirements, or what roadblocks were faced.
- Remember, this is now your project, please own this, make any changes you want, and make it something that you are happy to send back to us.
- The initial CoreData stack has been implemented, interfacing methods are included in the AppDelegate.
- Git can be a useful method of documenting, you will notice Git has already been setup for this project.
- CrytpoCurrency information comes from the CoinMarketCap API.