One Logo Pool Ball
SwiftUI · IOS API REFERENCE

TimelineView.Context.Cadence

enum · iOS 15.0+ · SDK 27.1

enum Cadence

A rate at which timeline views can receive updates. Use the cadence presented to content in a ``TimelineView`` 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 ``seconds`` or ``minutes``. Because this 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

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →