Contents

init()

Creates a weather service object.

Declaration

convenience init()

Discussion

Use this method to create different WeatherService instances, for example, to separate out high-priority and low-priority requests for performance. If you only need one instance of WeatherService, use shared.