You can watch this episode by subscribing to Cocoacasts Plus.

Building a Weather Application From Scratch

Efficiently Refreshing Weather Data

The application fetches the location of the device on launch and it subsequently asks the Dark Sky API for weather data for that location. That's fine, but it isn't sufficient. What happens if the user backgrounds the application and opens it several hours later. The weather data may be out of date and, if they're traveling, the location of the device may have changed.

Purchase Course

Purchase Building a Weather Application From Scratch and access it whenever you want and for as long as you want.

Join Cocoacasts Plus

Join Cocoacasts Plus and access every 350+ tutorials including Building a Weather Application From Scratch.

Next Episode "Adding Pull to Refresh"