---
title: remoteObjectProxy()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/nsxpcproxycreating/remoteobjectproxy()
---

# remoteObjectProxy()

Returns a proxy object with no error handling block.

## Declaration

```swift
func remoteObjectProxy() -> Any
```

## Discussion

Discussion Messages sent to the proxy object are sent over the wire to the other side of the connection. All messages must be ‘void’ return type. Control may be returned to the caller before the message is sent. The resulting proxy object conforms to the NSXPCProxyCreating protocol.

## See Also

### Related Documentation

- [Daemons and Services Programming Guide](apple-archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Introduction.html.md)
