WeatherCondition

public struct WeatherCondition : Codable, Equatable, Hashable

Type that holds information about weather conditions

  • id

    The weather condition ID

    Declaration

    Swift

    public let id: Int
  • Group of weather parameters

    Declaration

    Swift

    public let main: String
  • The weather condition within the group

    Declaration

    Swift

    public let description: String
  • The ID of the corresponding weather icon

    Declaration

    Swift

    public let icon: WeatherIcon