Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 902 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 902 Bytes

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'

TODO's

  1. Clean up old persisted data
  2. Store location name for use when the app is offline
  3. Write unit tests