API Differences in WeatherKit in macOS 15.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in WeatherKit in the macOS 15.0 SDK.

Table of Contents

Structs

CloudCoverByAltitude
DailyWeatherStatistics
DailyWeatherStatisticsQuery
DailyWeatherSummary
DailyWeatherSummaryQuery
DayPartForecast
DayPrecipitationStatistics
DayPrecipitationSummary
DayTemperatureStatistics
DayTemperatureSummary
HistoricalComparisons
HourTemperatureStatistics
HourlyWeatherStatistics
HourlyWeatherStatisticsQuery
MonthPrecipitationStatistics
MonthTemperatureStatistics
MonthlyWeatherStatistics
MonthlyWeatherStatisticsQuery
Percentiles
PrecipitationAmountByType
SnowfallAmount
Trend
TrendBaseline
WeatherChange
WeatherChanges

Enums

Deviation
HistoricalComparison

Functions & Methods

CloudCoverByAltitude
public static func == (a: WeatherKit.CloudCoverByAltitude, b: WeatherKit.CloudCoverByAltitude) -> Swift.Bool
CloudCoverByAltitude
public func encode(to encoder: any Swift.Encoder) throws
WeatherChange
public static func == (a: WeatherKit.WeatherChange, b: WeatherKit.WeatherChange) -> Swift.Bool
WeatherChange.Direction
public static func == (a: WeatherKit.WeatherChange.Direction, b: WeatherKit.WeatherChange.Direction) -> Swift.Bool
WeatherChange.Direction
public func encode(to encoder: any Swift.Encoder) throws
WeatherChange
public func encode(to encoder: any Swift.Encoder) throws
WeatherChanges
public static func == (a: WeatherKit.WeatherChanges, b: WeatherKit.WeatherChanges) -> Swift.Bool
WeatherChanges
public func encode(to encoder: any Swift.Encoder) throws
WeatherService
final public func dailyStatistics<each T>(for location: _LocationEssentials.CLLocation, forDaysIn interval: Foundation.DateInterval, including dataSets: repeat WeatherKit.DailyWeatherStatisticsQuery<each T>) async throws -> (repeat WeatherKit.DailyWeatherStatistics<each T>) where repeat each T : Swift.Decodable, repeat each T : Swift.Encodable, repeat each T : Swift.Equatable, repeat each T : Swift.Sendable
WeatherService
final public func dailyStatistics<each T>(for location: _LocationEssentials.CLLocation, including dataSets: repeat WeatherKit.DailyWeatherStatisticsQuery<each T>) async throws -> (repeat WeatherKit.DailyWeatherStatistics<each T>) where repeat each T : Swift.Decodable, repeat each T : Swift.Encodable, repeat each T : Swift.Equatable, repeat each T : Swift.Sendable
WeatherService
final public func dailyStatistics<each T>(for location: _LocationEssentials.CLLocation, startDay: Swift.Int, endDay: Swift.Int, including dataSets: repeat WeatherKit.DailyWeatherStatisticsQuery<each T>) async throws -> (repeat WeatherKit.DailyWeatherStatistics<each T>) where repeat each T : Swift.Decodable, repeat each T : Swift.Encodable, repeat each T : Swift.Equatable, repeat each T : Swift.Sendable
WeatherService
final public func dailySummary<each T>(for location: _LocationEssentials.CLLocation, forDaysIn interval: Foundation.DateInterval, including dataSets: repeat WeatherKit.DailyWeatherSummaryQuery<each T>) async throws -> (repeat WeatherKit.DailyWeatherSummary<each T>) where repeat each T : Swift.Decodable, repeat each T : Swift.Encodable, repeat each T : Swift.Equatable, repeat each T : Swift.Sendable
WeatherService
final public func dailySummary<each T>(for location: _LocationEssentials.CLLocation, including dataSets: repeat WeatherKit.DailyWeatherSummaryQuery<each T>) async throws -> (repeat WeatherKit.DailyWeatherSummary<each T>) where repeat each T : Swift.Decodable, repeat each T : Swift.Encodable, repeat each T : Swift.Equatable, repeat each T : Swift.Sendable
WeatherService
final public func hourlyStatistics<each T>(for location: _LocationEssentials.CLLocation, forHoursIn interval: Foundation.DateInterval, including dataSets: repeat WeatherKit.HourlyWeatherStatisticsQuery<each T>) async throws -> (repeat WeatherKit.HourlyWeatherStatistics<each T>) where repeat each T : Swift.Decodable, repeat each T : Swift.Encodable, repeat each T : Swift.Equatable, repeat each T : Swift.Sendable
WeatherService
final public func hourlyStatistics<each T>(for location: _LocationEssentials.CLLocation, including dataSets: repeat WeatherKit.HourlyWeatherStatisticsQuery<each T>) async throws -> (repeat WeatherKit.HourlyWeatherStatistics<each T>) where repeat each T : Swift.Decodable, repeat each T : Swift.Encodable, repeat each T : Swift.Equatable, repeat each T : Swift.Sendable
WeatherService
final public func hourlyStatistics<each T>(for location: _LocationEssentials.CLLocation, startHour: Swift.Int, endHour: Swift.Int, including dataSets: repeat WeatherKit.HourlyWeatherStatisticsQuery<each T>) async throws -> (repeat WeatherKit.HourlyWeatherStatistics<each T>) where repeat each T : Swift.Decodable, repeat each T : Swift.Encodable, repeat each T : Swift.Equatable, repeat each T : Swift.Sendable
WeatherService
final public func monthlyStatistics<each T>(for location: _LocationEssentials.CLLocation, including dataSets: repeat WeatherKit.MonthlyWeatherStatisticsQuery<each T>) async throws -> (repeat WeatherKit.MonthlyWeatherStatistics<each T>) where repeat each T : Swift.Decodable, repeat each T : Swift.Encodable, repeat each T : Swift.Equatable, repeat each T : Swift.Sendable
WeatherService
final public func monthlyStatistics<each T>(for location: _LocationEssentials.CLLocation, forMonthsIn interval: Foundation.DateInterval, including dataSets: repeat WeatherKit.MonthlyWeatherStatisticsQuery<each T>) async throws -> (repeat WeatherKit.MonthlyWeatherStatistics<each T>) where repeat each T : Swift.Decodable, repeat each T : Swift.Encodable, repeat each T : Swift.Equatable, repeat each T : Swift.Sendable
WeatherService
final public func monthlyStatistics<each T>(for location: _LocationEssentials.CLLocation, startMonth: Swift.Int, endMonth: Swift.Int, including dataSets: repeat WeatherKit.MonthlyWeatherStatisticsQuery<each T>) async throws -> (repeat WeatherKit.MonthlyWeatherStatistics<each T>) where repeat each T : Swift.Decodable, repeat each T : Swift.Encodable, repeat each T : Swift.Equatable, repeat each T : Swift.Sendable
WeatherService
final public func weather<each T>(for location: _LocationEssentials.CLLocation, including dataSet: repeat WeatherKit.WeatherQuery<each T>) async throws -> (repeat each T) where repeat each T : Swift.Sendable

Properties & Constants

CurrentWeather
public var cloudCoverByAltitude: WeatherKit.CloudCoverByAltitude
DayWeather
public var daytimeForecast: WeatherKit.DayPartForecast
DayWeather
public var highTemperatureTime: Foundation.Date?
DayWeather
public var highWindSpeed: Foundation.Measurement<Foundation.UnitSpeed>?
DayWeather
public var lowTemperatureTime: Foundation.Date?
DayWeather
public var maximumHumidity: Swift.Double
DayWeather
public var maximumVisibility: Swift.Double
DayWeather
public var minimumHumidity: Swift.Double
DayWeather
public var minimumVisibility: Swift.Double
DayWeather
public var overnightForecast: WeatherKit.DayPartForecast
DayWeather
public var precipitationAmountByType: WeatherKit.PrecipitationAmountByType
DayWeather
public var restOfDayForecast: WeatherKit.DayPartForecast?
HourWeather
public var cloudCoverByAltitude: WeatherKit.CloudCoverByAltitude
HourWeather
public var snowfallAmount: Foundation.Measurement<Foundation.UnitLength>
WeatherQuery
public static var changes: WeatherKit.WeatherQuery<WeatherKit.WeatherChanges?>
WeatherQuery
public static var historicalComparisons: WeatherKit.WeatherQuery<WeatherKit.HistoricalComparisons?>

Conformances

CloudCoverByAltitude
Swift.Codable
CloudCoverByAltitude
Swift.Equatable
CloudCoverByAltitude
Swift.Sendable
DailyWeatherStatisticsQuery
Swift.Sendable
DailyWeatherSummaryQuery
Swift.Sendable
DayPartForecast
Swift.Sendable
Deviation
Swift.Sendable
HistoricalComparison
Swift.Sendable
HistoricalComparisons
Swift.Sendable
HourlyWeatherStatisticsQuery
Swift.Sendable
MonthlyWeatherStatisticsQuery
Swift.Sendable
PrecipitationAmountByType
Swift.Sendable
SnowfallAmount
Swift.Sendable
Trend
Swift.Sendable
TrendBaseline.Kind
Swift.Sendable
TrendBaseline
Swift.Sendable
WeatherChange.Direction
Swift.BitwiseCopyable
WeatherChange.Direction
Swift.Codable
WeatherChange.Direction
Swift.Equatable
WeatherChange.Direction
Swift.Hashable
WeatherChange.Direction
Swift.Sendable
WeatherChange
Swift.Codable
WeatherChange
Swift.Equatable
WeatherChange
Swift.Sendable
WeatherChanges
Swift.Codable
WeatherChanges
Swift.Equatable
WeatherChanges
Swift.Sendable

Initializers

CloudCoverByAltitude
public init(from decoder: any Swift.Decoder) throws
WeatherChange.Direction
public init(from decoder: any Swift.Decoder) throws
WeatherChange
public init(from decoder: any Swift.Decoder) throws
WeatherChanges
public init(from decoder: any Swift.Decoder) throws