Initializes a newly allocated NSDistantObject as a remote proxy for
remote, which is an id in another thread or another application’s address space.
- macOS 10.0–10.13Deprecated
An object in another thread or another application’s address space.
The connection to set as the
NSConnectionobject for the returned proxy—it should have been created using the
With Registered Name: host:
NSDistant object initialized as a remote proxy for
remote. If a proxy for
a already exists, the receiver is released and the existing proxy is retained and returned.
A remote proxy can’t be used until its connection’s peer has a local proxy representing
remote in the other application.
This is the designated initializer for remote proxies. It returns an initialized object, which might be different than the original receiver.