Here are some tips about structure followed
- MVVM Pattern
- Swift 5
- Implemented network layer
- Codable
- Used generic type for scalability
- Structured in a way to expand to multiple cities
- Displays available data offline - Used NSUser Defaults - Since not huge data, so no use to utilise Core data.
- Used this source "https://home.openweathermap.org" to get weather data.