<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.0.0 - 10.13.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSConnection/rootProxy",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSConnection(py)rootProxy"
  },
  "title" : "rootProxy"
}
-->

# rootProxy

The proxy for the root object of the receiver’s peer in another application or thread.

```
@property (retain, readonly) NSDistantObject * rootProxy;
```

## Discussion

The proxy returned can change between invocations if the peer `NSConnection` object’s root object is changed.

> Note:
> If the `NSConnection` object uses separate send and receive ports and has no peer, when you invoke `rootProxy` it will block for the duration of the reply timeout interval, waiting for a reply.

## See Also

[`@property (retain, nullable) id rootObject;`](/documentation/Foundation/NSConnection/rootObject-c.property)

The object that the receiver (or its parent) makes available to other applications or threads.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)