One Logo Pool Ball
SwiftUI · IOS API REFERENCE

AnimationTimelineSchedule

struct · iOS 15.0+ · SDK 27.1

struct AnimationTimelineSchedule

A pausable schedule of dates updating at a frequency no more quickly than the provided interval. You can also use ``TimelineSchedule/animation(minimumInterval:paused:)`` to construct this schedule.

Members (2)

init · iOS 15.0+

init

TypeScript
static init(minimumInterval?: (number) | null, paused?: boolean): AnimationTimelineSchedule
Swift declaration
init(minimumInterval: Double? = nil, paused: Bool = false)

Create a pausable schedule of dates updating at a frequency no more quickly than the provided interval. - Parameters: - minimumInterval: The minimum interval to update the schedule at. Pass nil to let the system pick an appropriate update interval. - paused: If the schedule should stop generating updates.

method · iOS 15.0+

entries

TypeScript
entries(start: globalThis.Date, mode: _SwiftUICore_TimelineScheduleMode): AnimationTimelineSchedule_Entries
Swift declaration
func entries(from start: Date, mode: TimelineScheduleMode) -> AnimationTimelineSchedule.Entries

Returns entries at the frequency of the animation schedule. When in `.lowFrequency` mode, return no entries, effectively pausing the animation.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →