Please see original requirements in pdf
- Xcode 11.3.1
- Please insert your
apiAccessTokeninConfiguration.swift
- barebones logger-style
- autolayout with safe areas
- dark mode support
- Separation of concerns (
BankManagerandViewModel) - Dependency injection
- MVVM with passing
ViewDatavia delegate pattern - API wrapper around
URLSessionutilising generics - API consumes
Endpointencapsulating strongly-typed request and response
- Chaining of API calls done via Operations/ProcedureKit/RxSwift. Considering that I needed to chain 2 API calls at most, I've chosen the simplest solution possible
- Round up extracted out into a separate object and tested more thoroughly
- More tests. Everything is made testable, but due to repetetive nature of tests and time constraints, I did not cover API helpers and all possible scenarios in business logic
- Better UI obviously
