Instance Methodswift 6.0.3Foundation
perform(_:)
func perform(_ block: @escaping () -> Void)
func perform(_ block: @escaping () -> Void)
import Foundation
class RunLoop
typealias Void = ()
The return type of functions that don’t explicitly specify a return type, that is, an empty tuple ()
.
class var current: RunLoop { get }
class var main: RunLoop { get }
var currentMode: RunLoop.Mode? { get }
func acceptInput(forMode mode: String, before limitDate: Date)
func add(_ aPort: Port, forMode mode: RunLoop.Mode)
func add(_ timer: Timer, forMode mode: RunLoop.Mode)
func limitDate(forMode mode: RunLoop.Mode) -> Date?
func perform(inModes modes: [RunLoop.Mode], block: @escaping () -> Void)
func remove(_ aPort: Port, forMode mode: RunLoop.Mode)
func run()
func run(mode: RunLoop.Mode, before limitDate: Date) -> Bool
func run(until limitDate: Date)
struct Mode