Fairly simple iOS app that tracks the weather at a certain location (based on latitude and longitude) and displays humidity and precipitation levels. Building this helped me learn more about working with Swift+JSON while also working with the Forecast API.
👍 ☁️ 👍
If you want to try it out for yourself, add your Forecast.io API key into the ViewController.swift
file. If you want to change the location, change the latitude and longitude double values to the ones of your choosing. Currently, they represent Alcatraz in San Francisco.
Although it'll run without changing, I urge you to change the TRENetworkingErrorDomain in the APIClient.swift
file to your Bundle ID. For example, it should be:
TRENetworkingErrorDomain = [your bundle id].Stormy.NetworkingError