Setting up API for openweathermap. However, when it comes to setting up this:
func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [C
In the latest beta 4
version Alamofire switched to using the new standard Result type, so the convenience properties we used to have have been made internal. Now you can switch over the result like this:
switch response.result {
case let .success(value): ...
case let .failure(error): ...
}
Or you can make similar extensions in your own project. They won't be offering the extensions publicly anymore.