Open ClassFoundation5.9.0
RunLoop
class RunLoop
Superclasses
class NSObject
The root class of most Foundation class hierarchies.
Citizens in Foundation
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
Members
class var current: RunLoop
class var main: RunLoop
var currentMode: RunLoop.Mode?
func acceptInput(forMode: String, before: Date
) func add(Port, forMode: RunLoop.Mode
) func add(Timer, forMode: RunLoop.Mode
) func limitDate(forMode: RunLoop.Mode
) -> Date? func perform(() -> Void
) func perform(inModes: [RunLoop.Mode], block: () -> Void
) func remove(Port, forMode: RunLoop.Mode
) func run(
) func run(mode: RunLoop.Mode, before: Date
) -> Bool func run(until: Date
) struct Mode
func getCFRunLoop(
) -> CFRunLoop