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

# endpoint

If the connection was created with an NSXPCListenerEndpoint object, returns the endpoint object used.

## Declaration

```swift
var endpoint: NSXPCListenerEndpoint { get }
```

## See Also

### Managing the connection interface

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