-
Used Xcode Version 14.2
-
Used MVVM with coordinator design pattern.
-
Swift Code for generating UI. Managing storyboard is tough within a team. Used XIB files for cell & Custom UI (They can be replaced if required/asked).
-
https://openweathermap.org/api used for city search and weather search.
-
App includes
- Search city screen: User can type any city name around the world. OpenWeather API used for retrieving city.
- Weather Detail screen: from searched cites. User can navigate to weather detail screen of any city.
- Saved City Screen: User can save city weather detail for offline mode from Weather detail screen. Swipe to delete for saved cities.
- Empty State: Implemented Empty states for Search City and Saved city screen.
- Switch between temperature units: User can switch between Kelvin, Celsius, Fahrenheit from Search city screen.
-
Test cases are written.
-
Use Of Combine framework for reactive programming and web service implementation.