port
TypeScriptstatic portWithMachPort(machPort: number): PortSwift declarationclass func port(withMachPort machPort: UInt32) -> Portclass · SDK 27.1
class NSMachPortstatic portWithMachPort(machPort: number): PortSwift declarationclass func port(withMachPort machPort: UInt32) -> Portstatic portWithMachPortOptions(machPort: number, f?: NSMachPort_Options): PortSwift declarationclass func port(withMachPort machPort: UInt32, options f: NSMachPort.Options = []) -> Portdelegate(): (SDKHandle) | nullSwift declarationfunc delegate() -> (any NSMachPortDelegate)?static initMachPort(machPort: number): NSMachPortSwift declarationinit(machPort: UInt32)static initMachPortOptions(machPort: number, f?: NSMachPort_Options): NSMachPortSwift declarationinit(machPort: UInt32, options f: NSMachPort.Options = [])remove(runLoop: RunLoop, mode: RunLoop_Mode): voidSwift declarationfunc remove(from runLoop: RunLoop, forMode mode: RunLoop.Mode)schedule(runLoop: RunLoop, mode: RunLoop_Mode): voidSwift declarationfunc schedule(in runLoop: RunLoop, forMode mode: RunLoop.Mode)setDelegate(anObject?: (SDKHandle) | null): voidSwift declarationfunc setDelegate(_ anObject: (any NSMachPortDelegate)?)get machPort(): numberSwift declarationvar machPort: UInt32 { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSMachPort.init()
inherited init: cannot prove legal (class declares 2 custom initializers)