NSDistant object as a local proxy for a given object.
- macOS 10.0–10.13Deprecated
An object in the receiver’s address space.
The connection for the returned proxy.
NSDistant object that serves as a local proxy for
an. If a proxy for
a already exists, the receiver is released and the existing proxy is retained and returned.
Other applications connect to the proxy using the
connection class method.
Local proxies should be considered private to their
NSConnection objects. Only an
NSConnection object should use this method to create them, and your code shouldn’t retain or otherwise use local proxies.
This is the designated initializer for local proxies. It returns an initialized object, which might be different than the original receiver