Structureswift 6.0.3Foundation
Mode
struct Mode
struct Mode
import Foundation
class RunLoop
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(mode: RunLoop.Mode, before limitDate: Date) -> Bool
func run(until limitDate: Date)
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init(_ rawValue: String)
init(rawValue: String)
static let common: RunLoop.Mode
static let `default`: RunLoop.Mode
let rawValue: String
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)