This project displays the list of images in scrollable view fetched from the flickr api.
The project is based upon MVVM architecture and is written in Swift 4.
- Model - PhotosModel
- View - View in Main.storyboard
- View Model - PhotosViewModel
- Controller - ViewController
- Data Factory - This is responsible for providing data either fetching remotely thorough the API or from the cache (local DB).
- Extension - This contains swift extensions.
- Constants - This contains all the constants required in the app.
- Custom Views - This contains the custom views created like custom buttons, views, labels, etc.
- Utils - This contains the helper classes.
If you want to change the API key used for fetching data through the flickr api, then edit it at Constants -> APIConstants.swift -> APIKey
Since the project is based upon MVVM architecture, we can do maximum code coverage by writing unit tests for models, view models, extensions, utils.