current
TypeScriptstatic get current(): RunLoopSwift declarationclass var current: RunLoop { get }class · SDK 27.1
class RunLoopstatic get current(): RunLoopSwift declarationclass var current: RunLoop { get }static get main(): RunLoopSwift declarationclass var main: RunLoop { get }acceptInput(mode: RunLoop_Mode, limitDate: globalThis.Date): voidSwift declarationfunc acceptInput(forMode mode: RunLoop.Mode, before limitDate: Date)addForMode(aPort: Port, mode: RunLoop_Mode): voidSwift declarationfunc add(_ aPort: Port, forMode mode: RunLoop.Mode)addForMode58794(timer: Timer, mode: RunLoop_Mode): voidSwift declarationfunc add(_ timer: Timer, forMode mode: RunLoop.Mode)cancelPerformSelectors(target: unknown): voidSwift declarationfunc cancelPerformSelectors(withTarget target: Any)getCFRunLoop(): _CoreFoundation_CFRunLoopSwift declarationfunc getCFRunLoop() -> CFRunLoopstatic init(): RunLoopSwift declarationinit()limitDate(mode: RunLoop_Mode): (globalThis.Date) | nullSwift declarationfunc limitDate(forMode mode: RunLoop.Mode) -> Date?perform(block: (() => void)): voidSwift declarationfunc perform(_ block: @escaping @Sendable () -> Void)performInModesBlock(modes: Array<RunLoop_Mode>, block: (() => void)): voidSwift declarationfunc perform(inModes modes: [RunLoop.Mode], block: @escaping @Sendable () -> Void)remove(aPort: Port, mode: RunLoop_Mode): voidSwift declarationfunc remove(_ aPort: Port, forMode mode: RunLoop.Mode)run(): voidSwift declarationfunc run()runModeBefore(mode: RunLoop_Mode, limitDate: globalThis.Date): booleanSwift declarationfunc run(mode: RunLoop.Mode, before limitDate: Date) -> BoolrunUntil(limitDate: globalThis.Date): voidSwift declarationfunc run(until limitDate: Date)get currentMode(): (RunLoop_Mode) | nullSwift declarationvar currentMode: RunLoop.Mode? { get }get minimumTolerance(): RunLoop_SchedulerTimeType_StrideSwift declarationvar minimumTolerance: RunLoop.SchedulerTimeType.Stride { get }The minimum tolerance the run loop scheduler allows.
get now(): RunLoop_SchedulerTimeTypeSwift declarationvar now: RunLoop.SchedulerTimeType { get }The run loop scheduler's definition of the current moment in time.
scheduleAfterIntervalToleranceOptions(date: RunLoop_SchedulerTimeType, interval: RunLoop_SchedulerTimeType_Stride, tolerance: RunLoop_SchedulerTimeType_Stride, options: (RunLoop_SchedulerOptions) | null, action: (() => void)): SDKHandleSwift declarationfunc schedule(after date: RunLoop.SchedulerTimeType, interval: RunLoop.SchedulerTimeType.Stride, tolerance: RunLoop.SchedulerTimeType.Stride, options: RunLoop.SchedulerOptions?, _ action: @escaping () -> Void) -> any CancellablePerforms the action at some time after the specified date, at the specified frequency, using the specified tolerance and options.
scheduleAfterToleranceOptions(date: RunLoop_SchedulerTimeType, tolerance: RunLoop_SchedulerTimeType_Stride, options: (RunLoop_SchedulerOptions) | null, action: (() => void)): voidSwift declarationfunc schedule(after date: RunLoop.SchedulerTimeType, tolerance: RunLoop.SchedulerTimeType.Stride, options: RunLoop.SchedulerOptions?, _ action: @escaping () -> Void)Performs the action at some time after the specified date, using the specified tolerance and options.
scheduleOptions(options: (RunLoop_SchedulerOptions) | null, action: (() => void)): voidSwift declarationfunc schedule(options: RunLoop.SchedulerOptions?, _ action: @escaping () -> Void)Performs the action at some time after the specified date, using the scheduler's minimum tolerance.
2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
RunLoop.perform(_:target:argument:order:modes:)
Objective-C selectors cannot cross the bridge.
RunLoop.cancelPerform(_:target:argument:)
Objective-C selectors cannot cross the bridge.