The date on which to start the sequence.
Initializerinit(from:
init(from:by:)
Creates a periodic update schedule.
Availability 有効性
- iOS 15.0+
- iPadOS 15.0+
- macOS 12.0+
- Mac Catalyst 15.0+
- tvOS 15.0+
- watchOS 8.0+
Technology
- Swift
UI
Declaration 宣言
init(from startDate: Date
, by interval: TimeInterval
)
Parameters パラメータ
startDate
interval
The time interval between successive sequence entries.
Discussion 議論
Use the entries(from:
method to get the sequence of dates.