cloudCover
TypeScriptget cloudCover(): numberSwift declarationvar cloudCover: DoubleThe percentage of the sky covered with clouds. The value is from `0` (no cloud cover) to `1` (complete cloud cover).
struct · iOS 18.0+ · SDK 27.1
struct DayPartForecastA structure that represents the weather forecast for part of the day.
get cloudCover(): numberSwift declarationvar cloudCover: DoubleThe percentage of the sky covered with clouds. The value is from `0` (no cloud cover) to `1` (complete cloud cover).
set cloudCover(value: number)Swift declarationvar cloudCover: DoubleThe percentage of the sky covered with clouds. The value is from `0` (no cloud cover) to `1` (complete cloud cover).
get highWindSpeed(): _Foundation_Measurement<_Foundation_UnitSpeed>Swift declarationvar highWindSpeed: Measurement<UnitSpeed>The maximum sustained wind speed for the day part.
set highWindSpeed(value: _Foundation_Measurement<_Foundation_UnitSpeed>)Swift declarationvar highWindSpeed: Measurement<UnitSpeed>The maximum sustained wind speed for the day part.
get precipitation(): PrecipitationSwift declarationvar precipitation: PrecipitationThe description of precipitation for the day part.
set precipitation(value: Precipitation)Swift declarationvar precipitation: PrecipitationThe description of precipitation for the day part.
get lowTemperature(): _Foundation_Measurement<_Foundation_UnitTemperature>Swift declarationvar lowTemperature: Measurement<UnitTemperature>The overnight low temperature for the day part.
set lowTemperature(value: _Foundation_Measurement<_Foundation_UnitTemperature>)Swift declarationvar lowTemperature: Measurement<UnitTemperature>The overnight low temperature for the day part.
get highTemperature(): _Foundation_Measurement<_Foundation_UnitTemperature>Swift declarationvar highTemperature: Measurement<UnitTemperature>The high temperature for the day part.
set highTemperature(value: _Foundation_Measurement<_Foundation_UnitTemperature>)Swift declarationvar highTemperature: Measurement<UnitTemperature>The high temperature for the day part.
get maximumHumidity(): numberSwift declarationvar maximumHumidity: DoubleThe maximum humidity for the day part. Relative humidity measures the amount of water vapor in the air, compared to the maximum amount that the air can hold at the current temperature. The range of this property is from `0` to `1`, inclusive.
set maximumHumidity(value: number)Swift declarationvar maximumHumidity: DoubleThe maximum humidity for the day part. Relative humidity measures the amount of water vapor in the air, compared to the maximum amount that the air can hold at the current temperature. The range of this property is from `0` to `1`, inclusive.
get minimumHumidity(): numberSwift declarationvar minimumHumidity: DoubleThe minimum humidity for the day part. Relative humidity measures the amount of water vapor in the air, compared to the maximum amount that the air can hold at the current temperature. The range of this property is from `0` to `1`, inclusive.
set minimumHumidity(value: number)Swift declarationvar minimumHumidity: DoubleThe minimum humidity for the day part. Relative humidity measures the amount of water vapor in the air, compared to the maximum amount that the air can hold at the current temperature. The range of this property is from `0` to `1`, inclusive.
get maximumVisibility(): _Foundation_Measurement<_Foundation_UnitLength>Swift declarationvar maximumVisibility: Measurement<UnitLength>The maximum visibility for the day part.
set maximumVisibility(value: _Foundation_Measurement<_Foundation_UnitLength>)Swift declarationvar maximumVisibility: Measurement<UnitLength>The maximum visibility for the day part.
get minimumVisibility(): _Foundation_Measurement<_Foundation_UnitLength>Swift declarationvar minimumVisibility: Measurement<UnitLength>The minimum visibility for the day part.
set minimumVisibility(value: _Foundation_Measurement<_Foundation_UnitLength>)Swift declarationvar minimumVisibility: Measurement<UnitLength>The minimum visibility for the day part.
get precipitationChance(): numberSwift declarationvar precipitationChance: DoubleThe probability of precipitation for the day part. The value is from `0` (no chance of precipitation) to `1` (100% chance of precipitation).
set precipitationChance(value: number)Swift declarationvar precipitationChance: DoubleThe probability of precipitation for the day part. The value is from `0` (no chance of precipitation) to `1` (100% chance of precipitation).
get cloudCoverByAltitude(): CloudCoverByAltitudeSwift declarationvar cloudCoverByAltitude: CloudCoverByAltitudeThe fraction of sky obscured by low altitude, medium altitude, and high altitude clouds.
set cloudCoverByAltitude(value: CloudCoverByAltitude)Swift declarationvar cloudCoverByAltitude: CloudCoverByAltitudeThe fraction of sky obscured by low altitude, medium altitude, and high altitude clouds.
get precipitationAmountByType(): PrecipitationAmountByTypeSwift declarationvar precipitationAmountByType: PrecipitationAmountByTypeA breakdown of all precipitation forecasted for the day.
set precipitationAmountByType(value: PrecipitationAmountByType)Swift declarationvar precipitationAmountByType: PrecipitationAmountByTypeA breakdown of all precipitation forecasted for the day.
get wind(): WindSwift declarationvar wind: WindWind data describing the wind speed, direction, and gust.
set wind(value: Wind)Swift declarationvar wind: WindWind data describing the wind speed, direction, and gust.
get condition(): WeatherConditionSwift declarationvar condition: WeatherConditionA description of the weather condition
set condition(value: WeatherCondition)Swift declarationvar condition: WeatherConditionA description of the weather condition
No declarations were skipped in this snapshot.