<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/TimelineView/Context/cadence-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI12TimelineViewV7ContextV7cadenceAE7CadenceOyxq___Gvp"
  },
  "title" : "cadence"
}
-->

# cadence

The rate at which the timeline updates the view.

```
let cadence: TimelineView<Schedule, Content>.Context.Cadence
```

## Discussion

Use this value to hide information that updates faster than the
view’s current update rate. For example, you could hide the
millisecond component of a digital timer when the cadence is
anything slower than [`TimelineView.Context.Cadence.live`](/documentation/SwiftUI/TimelineView/Context/Cadence-swift.enum/live).

Because the [`TimelineView.Context.Cadence`](/documentation/SwiftUI/TimelineView/Context/Cadence-swift.enum) enumeration conforms to the
<doc://com.apple.documentation/documentation/Swift/Comparable>
protocol, you can compare cadences with relational operators.
Slower cadences have higher values, so you could perform the check
described above with the following comparison:

```
let hideMilliseconds = cadence > .live
```

---

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)