One Logo Pool Ball
WeatherKit · IOS API REFERENCE

DayPrecipitationSummary

struct · iOS 18.0+ · SDK 27.1

struct DayPrecipitationSummary

A structure that describes the precipitation summary for a day.

Members (6)

get · iOS 18.0+

snowfallAmount

TypeScript
get snowfallAmount(): _Foundation_Measurement<_Foundation_UnitLength>
Swift declaration
var snowfallAmount: Measurement<UnitLength>

The snowfall amount as depth of snow crystals for the day.

set · iOS 18.0+

snowfallAmount

TypeScript
set snowfallAmount(value: _Foundation_Measurement<_Foundation_UnitLength>)
Swift declaration
var snowfallAmount: Measurement<UnitLength>

The snowfall amount as depth of snow crystals for the day.

get · iOS 18.0+

precipitationAmount

TypeScript
get precipitationAmount(): _Foundation_Measurement<_Foundation_UnitLength>
Swift declaration
var precipitationAmount: Measurement<UnitLength>

The amount of liquid precipitation for the day.

set · iOS 18.0+

precipitationAmount

TypeScript
set precipitationAmount(value: _Foundation_Measurement<_Foundation_UnitLength>)
Swift declaration
var precipitationAmount: Measurement<UnitLength>

The amount of liquid precipitation for the day.

get · iOS 18.0+

date

TypeScript
get date(): globalThis.Date
Swift declaration
var date: Date

The day of the observed precipitation summary

set · iOS 18.0+

date

TypeScript
set date(value: globalThis.Date)
Swift declaration
var date: Date

The day of the observed precipitation summary

Skipped declarations

No declarations were skipped in this snapshot.

All WeatherKit types →