Instance Methodswift 6.0.3Foundation
run(mode:before:)
func run(mode: RunLoop.Mode, before limitDate: Date) -> Bool
func run(mode: RunLoop.Mode, before limitDate: Date) -> Bool
s10Foundation7RunLoopC3run4mode6beforeSbAC4ModeV_0A10Essentials4DateVtF
What are these?76BYP
import Foundation
class RunLoop
struct Mode
struct Date
Date
represents a single point in time.
@frozen struct Bool
A value type whose instances are either true
or false
.
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(_ block: @escaping () -> Void)
func perform(inModes modes: [RunLoop.Mode], block: @escaping () -> Void)
func remove(_ aPort: Port, forMode mode: RunLoop.Mode)
func run()
func run(until limitDate: Date)