let date: Date
The date from the schedule that triggered the current view update.
Availability 有効性
Technology
struct Context
The context includes both the date
from the schedule that triggered the callback, and a cadence
that you can use to customize the appearance of your view. For example, you might choose to display the second hand of an analog clock only when the cadence is Timeline
or faster.
let date: Date
let cadence: TimelineView <Schedule, Content>.Context.Cadence
enum Cadence
func invalidateTimelineContent ()
Schedule
conforms to TimelineSchedule
.init(Schedule, content: (TimelineView <Schedule, Content>.Context) -> Content)
Schedule
conforms to TimelineSchedule
and Content
conforms to View
.