A port that can be used as an endpoint for distributed object connections (or raw messaging).
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
NSMessage is a subclass of
NSPort that allows for local (on the same machine) communication only. A companion class,
NSSocket, allows for both local and remote communication, but may be more expensive than
NSMessage for the local case.
NSMessage defines no additional methods over those already defined by