Initializer

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.