init(_:)
Creates a schedule composed of an explicit sequence of dates.
Declaration
init(_ dates: Entries)Parameters
- dates:
The sequence of dates at which a timeline view updates. Use a monotonically increasing sequence of dates, and ensure that at least one is in the future.
Discussion
Use the entries(from:mode:) method to get the sequence of dates.