Combine · IOS API REFERENCE
ImmediateScheduler.SchedulerTimeType.Stride
struct · iOS 13.0+ · SDK 27.1
struct Stride
The increment by which the immediate scheduler counts time.
Members (11)
static · iOS 13.0+nanoseconds
TypeScriptstatic nanoseconds(ns: number): ImmediateScheduler_SchedulerTimeType_Stride
Swift declarationstatic func nanoseconds(_ ns: Int) -> ImmediateScheduler.SchedulerTimeType.Stride
Converts the specified number of nanoseconds into an instance of this scheduler time type.
init · iOS 13.0+init
TypeScriptstatic initFloatLiteral(value: number): ImmediateScheduler_SchedulerTimeType_Stride
Swift declarationinit(floatLiteral value: Double)
Creates an immediate scheduler time interval from a floating-point seconds value.
static · iOS 13.0+microseconds
TypeScriptstatic microseconds(us: number): ImmediateScheduler_SchedulerTimeType_Stride
Swift declarationstatic func microseconds(_ us: Int) -> ImmediateScheduler.SchedulerTimeType.Stride
Converts the specified number of microseconds into an instance of this scheduler time type.
static · iOS 13.0+milliseconds
TypeScriptstatic milliseconds(ms: number): ImmediateScheduler_SchedulerTimeType_Stride
Swift declarationstatic func milliseconds(_ ms: Int) -> ImmediateScheduler.SchedulerTimeType.Stride
Converts the specified number of milliseconds into an instance of this scheduler time type.
init · iOS 13.0+init
TypeScriptstatic initIntegerLiteral(value: number): ImmediateScheduler_SchedulerTimeType_Stride
Swift declarationinit(integerLiteral value: Int)
Creates an immediate scheduler time interval from an integer seconds value.
init · iOS 13.0+init
TypeScriptstatic initExactly(source: number): (ImmediateScheduler_SchedulerTimeType_Stride) | null
Swift declarationinit?<T>(exactly source: T) where T : BinaryInteger
Creates an immediate scheduler time interval from a binary integer type.
If `exactly` can’t convert to an `Int`, the resulting time interval is `nil`.
static · iOS 13.0+seconds
TypeScriptstatic seconds(s: number): ImmediateScheduler_SchedulerTimeType_Stride
Swift declarationstatic func seconds(_ s: Double) -> ImmediateScheduler.SchedulerTimeType.Stride
Converts the specified number of seconds, as a floating-point value, into an instance of this scheduler time type.
static · iOS 13.0+seconds
TypeScriptstatic seconds46315(s: number): ImmediateScheduler_SchedulerTimeType_Stride
Swift declarationstatic func seconds(_ s: Int) -> ImmediateScheduler.SchedulerTimeType.Stride
Converts the specified number of seconds into an instance of this scheduler time type.
get · iOS 13.0+magnitude
TypeScriptget magnitude(): number
Swift declarationvar magnitude: Int
The value of this time interval in seconds.
set · iOS 13.0+magnitude
TypeScriptset magnitude(value: number)
Swift declarationvar magnitude: Int
The value of this time interval in seconds.
init · iOS 13.0+init
TypeScriptstatic init(value: number): ImmediateScheduler_SchedulerTimeType_Stride
Swift declarationinit(_ value: Int)
Creates an immediate scheduler time interval from the given time interval.
Skipped declarations
No declarations were skipped in this snapshot.
All Combine types →