Contents

shared

A single, shared weather service object.

Declaration

static let shared: WeatherService

Discussion

Use this object to interface to weather services in your application. If you need to prioritize weather information, create separate instances with init.

See Also

Obtaining forecasts