Generic Initializer

init(exactly:)

Creates a dispatch queue scheduler time interval from a binary integer type.

Declaration

init?<T>(exactly source: T) where T : BinaryInteger

Parameters

source

A binary integer representing a time interval.

Discussion

If exactly can’t convert to an Int, the resulting time interval is nil.

Relationships

From Protocol

See Also

Creating Scheduler Time Strides

init(DispatchTimeInterval)

Creates a dispatch queue scheduler time interval from the given dispatch time interval.

init(floatLiteral: Double)

Creates a dispatch queue scheduler time interval from a floating-point seconds value.

init(integerLiteral: Int)

Creates a dispatch queue scheduler time interval from an integer seconds value.