---
title: endpoint
framework: xpc
role: symbol
role_heading: Instance Property
path: xpc/xpclistener/endpoint
---

# endpoint

Creates an endpoint from the listener.

## Declaration

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

## Return Value

Return Value This returns a new endpoint struct that can be used to establish a connection with this listener.
