The protocol that delegates to the XPC listener use to accept or reject new connections.
SDKs
- iOS 11.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 11.0+
- watchOS 4.0+
Framework
- Foundation
Declaration
@protocol NSXPCListenerDelegate
The protocol that delegates to the XPC listener use to accept or reject new connections.
SDKs
Framework
@protocol NSXPCListenerDelegate
- listener: should Accept New Connection:
Accepts or rejects a new connection to the listener.
NSXPCListener
A listener that waits for new incoming connections, configures them, and accepts or rejects them.
NSXPCListener Endpoint
An object that names a specific XPC listener.