<!--
{
  "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/Trend",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WeatherKit"
    ],
    "preciseIdentifier" : "s:10WeatherKit5TrendV"
  },
  "title" : "Trend"
}
-->

# Trend

A structure describing an observed pattern in the data for weather at a location for a specific condition.

```
struct Trend<Dimension> where Dimension : Dimension
```

## Topics

### Instance Properties

[`var baseline: TrendBaseline<Dimension>`](/documentation/WeatherKit/Trend/baseline)

The manner in which the comparison between the baseline and current values are compared.

[`var currentValue: Measurement<Dimension>`](/documentation/WeatherKit/Trend/currentValue)

The current recorded value for the condition in which the trend is compared against.

[`var deviation: Deviation`](/documentation/WeatherKit/Trend/deviation)

Semantically describes the manner in which the observed trend compares the current value against the baseline value.

## Relationships

### Conforms To

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

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

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

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

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

---

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)