<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WeatherKit",
  "identifier" : "/documentation/WeatherKit/DayPartForecast",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WeatherKit"
    ],
    "preciseIdentifier" : "s:10WeatherKit15DayPartForecastV"
  },
  "title" : "DayPartForecast"
}
-->

# DayPartForecast

A structure that represents the weather forecast for part of the day.

```
struct DayPartForecast
```

## Topics

### Instance Properties

[`var cloudCover: Double`](/documentation/WeatherKit/DayPartForecast/cloudCover)

The percentage of the sky covered with clouds.

[`var cloudCoverByAltitude: CloudCoverByAltitude`](/documentation/WeatherKit/DayPartForecast/cloudCoverByAltitude)

The fraction of sky obscured by low altitude, medium altitude, and high altitude clouds.

[`var condition: WeatherCondition`](/documentation/WeatherKit/DayPartForecast/condition)

A description of the weather condition

[`var highTemperature: Measurement<UnitTemperature>`](/documentation/WeatherKit/DayPartForecast/highTemperature)

The high temperature for the day part.

[`var highWindSpeed: Measurement<UnitSpeed>`](/documentation/WeatherKit/DayPartForecast/highWindSpeed)

The maximum sustained wind speed for the day part.

[`var lowTemperature: Measurement<UnitTemperature>`](/documentation/WeatherKit/DayPartForecast/lowTemperature)

The overnight low temperature for the day part.

[`var maximumHumidity: Double`](/documentation/WeatherKit/DayPartForecast/maximumHumidity)

The 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.

[`var maximumVisibility: Measurement<UnitLength>`](/documentation/WeatherKit/DayPartForecast/maximumVisibility)

The maximum visibility for the day part.

[`var minimumHumidity: Double`](/documentation/WeatherKit/DayPartForecast/minimumHumidity)

The 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.

[`var minimumVisibility: Measurement<UnitLength>`](/documentation/WeatherKit/DayPartForecast/minimumVisibility)

The minimum visibility for the day part.

[`var precipitation: Precipitation`](/documentation/WeatherKit/DayPartForecast/precipitation)

The description of precipitation for the day part.

[`var precipitationAmountByType: PrecipitationAmountByType`](/documentation/WeatherKit/DayPartForecast/precipitationAmountByType)

A breakdown of all precipitation forecasted for the day.

[`var precipitationChance: Double`](/documentation/WeatherKit/DayPartForecast/precipitationChance)

The probability of precipitation for the day part.

[`var wind: Wind`](/documentation/WeatherKit/DayPartForecast/wind)

Wind data describing the wind speed, direction, and gust.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)