restOfDayForecast
TypeScriptget restOfDayForecast(): (DayPartForecast) | nullSwift declarationvar restOfDayForecast: DayPartForecast?The forecast from now until midnight local time. The value is only available for the current day.
struct · iOS 16.0+ · SDK 27.1
struct DayWeatherA structure that represents the weather conditions for the day.
get restOfDayForecast(): (DayPartForecast) | nullSwift declarationvar restOfDayForecast: DayPartForecast?The forecast from now until midnight local time. The value is only available for the current day.
set restOfDayForecast(value: (DayPartForecast) | null)Swift declarationvar restOfDayForecast: DayPartForecast?The forecast from now until midnight local time. The value is only available for the current day.
get symbolName(): stringSwift declarationvar symbolName: StringThe SF Symbol icon that represents the day weather condition.
set symbolName(value: string)Swift declarationvar symbolName: StringThe SF Symbol icon that represents the day weather condition.
get highWindSpeed(): (_Foundation_Measurement<_Foundation_UnitSpeed>) | nullSwift declarationvar highWindSpeed: Measurement<UnitSpeed>?The maximum sustained wind speed.
set highWindSpeed(value: (_Foundation_Measurement<_Foundation_UnitSpeed>) | null)Swift declarationvar highWindSpeed: Measurement<UnitSpeed>?The maximum sustained wind speed.
get precipitation(): PrecipitationSwift declarationvar precipitation: PrecipitationThe description of precipitation for this day.
set precipitation(value: Precipitation)Swift declarationvar precipitation: PrecipitationThe description of precipitation for this day.
get lowTemperature(): _Foundation_Measurement<_Foundation_UnitTemperature>Swift declarationvar lowTemperature: Measurement<UnitTemperature>The overnight low temperature.
set lowTemperature(value: _Foundation_Measurement<_Foundation_UnitTemperature>)Swift declarationvar lowTemperature: Measurement<UnitTemperature>The overnight low temperature.
get rainfallAmount(): _Foundation_Measurement<_Foundation_UnitLength>Swift declarationvar rainfallAmount: Measurement<UnitLength>The amount of liquid precipitation for the day.
set rainfallAmount(value: _Foundation_Measurement<_Foundation_UnitLength>)Swift declarationvar rainfallAmount: Measurement<UnitLength>The amount of liquid precipitation for the day.
get snowfallAmount(): _Foundation_Measurement<_Foundation_UnitLength>Swift declarationvar snowfallAmount: Measurement<UnitLength>The amount of snowfall for the day.
set snowfallAmount(value: _Foundation_Measurement<_Foundation_UnitLength>)Swift declarationvar snowfallAmount: Measurement<UnitLength>The amount of snowfall for the day.
get daytimeForecast(): DayPartForecastSwift declarationvar daytimeForecast: DayPartForecastThe weather forecast from 7AM - 7PM on this day.
set daytimeForecast(value: DayPartForecast)Swift declarationvar daytimeForecast: DayPartForecastThe weather forecast from 7AM - 7PM on this day.
get highTemperature(): _Foundation_Measurement<_Foundation_UnitTemperature>Swift declarationvar highTemperature: Measurement<UnitTemperature>The daytime high temperature.
set highTemperature(value: _Foundation_Measurement<_Foundation_UnitTemperature>)Swift declarationvar highTemperature: Measurement<UnitTemperature>The daytime high temperature.
get maximumHumidity(): numberSwift declarationvar maximumHumidity: DoubleThe maximum amount of water vapor in the air for the day. 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 amount of water vapor in the air for the day. 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 amount of water vapor in the air for the day. 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 amount of water vapor in the air for the day. 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(): numberSwift declarationvar maximumVisibility: DoubleThe maximum distance, in meters, at which terrain is visible for the day. The amount of light, and weather conditions like fog, mist, and smog affect visibility.
set maximumVisibility(value: number)Swift declarationvar maximumVisibility: DoubleThe maximum distance, in meters, at which terrain is visible for the day. The amount of light, and weather conditions like fog, mist, and smog affect visibility.
get minimumVisibility(): numberSwift declarationvar minimumVisibility: DoubleThe minimum distance, in meters, at which terrain is visible for the day. The amount of light, and weather conditions like fog, mist, and smog affect visibility.
set minimumVisibility(value: number)Swift declarationvar minimumVisibility: DoubleThe minimum distance, in meters, at which terrain is visible for the day. The amount of light, and weather conditions like fog, mist, and smog affect visibility.
get overnightForecast(): DayPartForecastSwift declarationvar overnightForecast: DayPartForecastThe weather forecast for 7PM on this day until 7AM the following day.
set overnightForecast(value: DayPartForecast)Swift declarationvar overnightForecast: DayPartForecastThe weather forecast for 7PM on this day until 7AM the following day.
get lowTemperatureTime(): (globalThis.Date) | nullSwift declarationvar lowTemperatureTime: Date?The time at which the low temperature occurs on this day.
set lowTemperatureTime(value: (globalThis.Date) | null)Swift declarationvar lowTemperatureTime: Date?The time at which the low temperature occurs on this day.
get highTemperatureTime(): (globalThis.Date) | nullSwift declarationvar highTemperatureTime: Date?The time at which the high temperature occurs on this day.
set highTemperatureTime(value: (globalThis.Date) | null)Swift declarationvar highTemperatureTime: Date?The time at which the high temperature occurs on this day.
get precipitationAmount(): _Foundation_Measurement<_Foundation_UnitLength>Swift declaration@backDeployed(before: iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4)
var precipitationAmount: Measurement<UnitLength> { get }The amount of liquid precipitation for the day.
get precipitationChance(): numberSwift declarationvar precipitationChance: DoubleThe probability of precipitation during the day. 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 during the day. The value is from `0` (no chance of precipitation) to `1` (100% chance of precipitation).
get precipitationAmountByType(): PrecipitationAmountByTypeSwift declarationvar precipitationAmountByType: PrecipitationAmountByTypeA breakdown of amounts of all forms of precipitation forecasted for the day.
set precipitationAmountByType(value: PrecipitationAmountByType)Swift declarationvar precipitationAmountByType: PrecipitationAmountByTypeA breakdown of amounts of all forms of precipitation forecasted for the day.
get sun(): SunEventsSwift declarationvar sun: SunEventsThe solar events for the day.
set sun(value: SunEvents)Swift declarationvar sun: SunEventsThe solar events for the day.
get date(): globalThis.DateSwift declarationvar date: DateThe start time of the day weather.
set date(value: globalThis.Date)Swift declarationvar date: DateThe start time of the day weather.
get moon(): MoonEventsSwift declarationvar moon: MoonEventsThe lunar events for the day.
set moon(value: MoonEvents)Swift declarationvar moon: MoonEventsThe lunar events for the day.
get wind(): WindSwift declarationvar wind: WindThe wind speed, direction, and gust.
set wind(value: Wind)Swift declarationvar wind: WindThe wind speed, direction, and gust.
get uvIndex(): UVIndexSwift declarationvar uvIndex: UVIndexThe expected intensity of ultraviolet radiation from the sun.
set uvIndex(value: UVIndex)Swift declarationvar uvIndex: UVIndexThe expected intensity of ultraviolet radiation from the sun.
get condition(): WeatherConditionSwift declarationvar condition: WeatherConditionA description of the weather condition on this day.
set condition(value: WeatherCondition)Swift declarationvar condition: WeatherConditionA description of the weather condition on this day.
No declarations were skipped in this snapshot.