Skip to content

Initializer

init(timeIntervalSinceNow:)

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.10+ tvOS 9.0+ watchOS 2.0+
Creates a date value initialized relative to the current date and time by a given number of seconds.
init(timeIntervalSinceNow: TimeInterval)