struct Entries
The sequence of dates in an every minute schedule.
Availability 有効性
Technology
func entries(from startDate: Date
, mode: TimelineScheduleMode
) -> EveryMinuteTimelineSchedule
.Entries
A sequence of per-minute dates in ascending order.
startDate
The date from which the sequence begins.
mode
The mode for the update schedule.
A Timeline
that you create with an every minute schedule calls this method to ask the schedule when to update its content. The method returns a sequence of per-minute dates in increasing order, from earliest to latest, that represents when the timeline view updates.
For a start
that’s exactly minute-aligned, the schedule’s sequence of dates starts at that time. Otherwise, it starts at the beginning of the specified minute. For example, for start dates of both 10:
and 10:
, the first entry in the sequence is 10:
.
struct Entries