Contents

weather(for:)

Returns the weather forecast for the requested location.

Declaration

final func weather(for location: CLLocation) async throws -> Weather

Parameters

  • location:

    The requested location.

Return Value

The aggregate weather.

Discussion

See Also

Obtaining forecasts