date
TypeScriptget date(): globalThis.DateSwift declarationvar date: DateThe date represented by this type.
struct · iOS 13.0+ · SDK 27.1
struct SchedulerTimeTypeThe scheduler time type used by the run loop.
get date(): globalThis.DateSwift declarationvar date: DateThe date represented by this type.
set date(value: globalThis.Date)Swift declarationvar date: DateThe date represented by this type.
advanced(n: RunLoop_SchedulerTimeType_Stride): RunLoop_SchedulerTimeTypeSwift declarationfunc advanced(by n: RunLoop.SchedulerTimeType.Stride) -> RunLoop.SchedulerTimeTypeReturns a run loop scheduler time calculated by advancing this instance’s time by the given interval. - Parameter n: A time interval to advance. - Returns: A dispatch queue time advanced by the given interval from this instance’s time.
distance(other: RunLoop_SchedulerTimeType): RunLoop_SchedulerTimeType_StrideSwift declarationfunc distance(to other: RunLoop.SchedulerTimeType) -> RunLoop.SchedulerTimeType.StrideReturns the distance to another run loop scheduler time. - Parameter other: Another dispatch queue time. - Returns: The time interval between this time and the provided time.
static init(date: globalThis.Date): RunLoop_SchedulerTimeTypeSwift declarationinit(_ date: Date)Initializes a run loop scheduler time with the given date. - Parameter date: The date to represent.
No declarations were skipped in this snapshot.