Generic Initializer

init(exactly:)

Creates a run loop scheduler time interval from a binary integer type.

Declaration

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

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(TimeInterval)

Creates a run loop scheduler time interval from the given time interval.

init(floatLiteral: TimeInterval)

Creates a run loop scheduler time interval from a floating-point seconds value.

init(integerLiteral: TimeInterval)

Creates a run loop scheduler time interval from an integer seconds value.