---
title: cadence
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/timelineview/context/cadence-swift.property
---

# cadence

The rate at which the timeline updates the view.

## Declaration

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

## Discussion

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. Because the TimelineView.Context.Cadence enumeration conforms to the 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

## See Also

### Getting the cadence

- [TimelineView.Context.Cadence](swiftui/timelineview/context/cadence-swift.enum.md)
