---
title: exportedObject
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsxpcconnection/exportedobject
---

# exportedObject

An exported object for the connection.

## Declaration

```swift
var exportedObject: Any? { get set }
```

## Discussion

Discussion Messages sent to the remoteObjectProxy() object from the other side of the connection are dispatched to this object. Messages delivered to exported objects are serialized and sent on a non-main queue. The receiver is responsible for handling the messages on a different queue or thread if it is required.

## See Also

### Managing the connection interface

- [serviceName](foundation/nsxpcconnection/servicename.md)
- [endpoint](foundation/nsxpcconnection/endpoint.md)
- [exportedInterface](foundation/nsxpcconnection/exportedinterface.md)
- [remoteObjectInterface](foundation/nsxpcconnection/remoteobjectinterface.md)
- [remoteObjectProxy](foundation/nsxpcconnection/remoteobjectproxy.md)
