This repo is the answer of Home Credit Indonesia take home test.
- Please run
$ pod install
after cloning this repo from GitHub or downloading it from email. It should ensure the podfiles are installed correctly for the project. - Please use
master
branch to review my answer and run the projects in Simulator/Real Device. - All the pages has been designed according to the mockup in the challenge doc.
- When application open, show progress indicator while getting the data from API. You can use progress bar, progress dialog or custom animation.
- If data is successfully retrieved, show the data based on design above. If any error occurs, show a toast or dialog indicating there is a connection error.
- When one of the Grid item or Article is clicked, open that item link (from API) on the browser.
- Min. iOS 10 target support.
- Written in Swift 5 or latest.
- Free to use any 3rd party library.
- Display each section (Grid, Banner) of view in vertical order, based on API result order.
- Layout is scrollable.
- Code must be clean, don't let unnecessary code left behind.
- Use native standard or more advance to create UI.
- Covered by Unit Test (Integration Test & UI Test will be very great).
- Use pattern / architecture that you're most familiar and mastered.