The following are code examples using the AerisWeather iOS Weather SDK.

Basic Observation Request

Request observation data for a single location and display certain field values in text labels. The subviews have been setup as IBOutlets in the view controller.

Batch Request

You can use an AWFBatchLoader instance to request data from multiple endpoints in a single request by instantiating the respective object loaders for your data sets and adding them to your AWFBatchLoader instance. The following loadWeatherData could be used within your custom view controller or your project's network/service layer:

Last modified: July 30, 2020