struct Entries
Discussion 議論
A Timeline
that you create with a schedule calls this method to ask the schedule when to update its content. The method returns a sequence of equally spaced dates in increasing order that represent points in time when the timeline view should update.
The schedule defines its periodicity and phase aligment based on the parameters you pass to its init(from:
initializer. For example, for a start
and interval
of 10:
and 60
seconds, the schedule prepares to issue dates half past each minute. The start
that you pass to the entries(from:
method then dictates the first date of the sequence as the beginning of the interval that the start date overlaps. Continuing the example above, a start date of 10:
causes the first sequence entry to be 10:
, because that’s the start of the interval in which the start date appears.