Sample iOS Weather Application
This project was built with XCode 10.2.1 and targets iOS 12.2
The application uses the darksky.net api
ForecastListViewController - Initial view controller. Displays forecast for the week using a collection view
ForecastDetailTableViewController - Displays details of a selected day
ForecastViewModel - Utility to map from types to user visible strings and images
DataController - Centralized coredata configuration
ForecastDataSource - Handles calls to the darksky api and persisting to coredata.
WeatherTransitionAnimator - Implements UIViewControllerAnimatedTransitioning for a custom UINavigation push
The api key for the call to the darkskey api is set in the apps info.plist 'ForecastIOKey'
- Clean up old persisted data
- Store location name for use when the app is offline
- Write unit tests