One Logo Pool Ball
Foundation · IOS API REFERENCE

OperationQueue.SchedulerTimeType.Stride

struct · iOS 13.0+ · SDK 27.1

struct Stride

The interval by which operation queue times advance.

Members (12)

static · iOS 13.0+

nanoseconds

TypeScript
static nanoseconds(ns: number): OperationQueue_SchedulerTimeType_Stride
Swift declaration
static func nanoseconds(_ ns: Int) -> OperationQueue.SchedulerTimeType.Stride

Converts the specified number of nanoseconds into an instance of this scheduler time type.

init · iOS 13.0+

init

TypeScript
static initFloatLiteral(value: number): OperationQueue_SchedulerTimeType_Stride
Swift declaration
init(floatLiteral value: TimeInterval)

Creates a stride using the specified floating-point value.

static · iOS 13.0+

microseconds

TypeScript
static microseconds(us: number): OperationQueue_SchedulerTimeType_Stride
Swift declaration
static func microseconds(_ us: Int) -> OperationQueue.SchedulerTimeType.Stride

Converts the specified number of microseconds into an instance of this scheduler time type.

static · iOS 13.0+

milliseconds

TypeScript
static milliseconds(ms: number): OperationQueue_SchedulerTimeType_Stride
Swift declaration
static func milliseconds(_ ms: Int) -> OperationQueue.SchedulerTimeType.Stride

Converts the specified number of milliseconds into an instance of this scheduler time type.

get · iOS 13.0+

timeInterval

TypeScript
get timeInterval(): number
Swift declaration
var timeInterval: TimeInterval { get }

The value of this time interval in seconds.

init · iOS 13.0+

init

TypeScript
static initIntegerLiteral(value: number): OperationQueue_SchedulerTimeType_Stride
Swift declaration
init(integerLiteral value: TimeInterval)

Creates a stride using the specified integer value.

init · iOS 13.0+

init

TypeScript
static initExactly(source: number): (OperationQueue_SchedulerTimeType_Stride) | null
Swift declaration
init?<T>(exactly source: T) where T : BinaryInteger

Creates a stride using the specified integer, if it can be represented exactly.

static · iOS 13.0+

seconds

TypeScript
static seconds(s: number): OperationQueue_SchedulerTimeType_Stride
Swift declaration
static func seconds(_ s: Double) -> OperationQueue.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

TypeScript
static seconds22264(s: number): OperationQueue_SchedulerTimeType_Stride
Swift declaration
static func seconds(_ s: Int) -> OperationQueue.SchedulerTimeType.Stride

Converts the specified number of seconds into an instance of this scheduler time type.

get · iOS 13.0+

magnitude

TypeScript
get magnitude(): number
Swift declaration
var magnitude: TimeInterval

The value of this time interval in seconds.

set · iOS 13.0+

magnitude

TypeScript
set magnitude(value: number)
Swift declaration
var magnitude: TimeInterval

The value of this time interval in seconds.

init · iOS 13.0+

init

TypeScript
static init(timeInterval: number): OperationQueue_SchedulerTimeType_Stride
Swift declaration
init(_ timeInterval: TimeInterval)

Creates a stride using the specified time interval.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →