<!--
{
  "documentType" : "article",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/xpc",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "XPC"
}
-->

# XPC

Manage secure interprocess communication.

## Topics

### XPC Client

[`NSXPCProxyCreating`](/documentation/Foundation/NSXPCProxyCreating)

Methods for creating new proxy objects.

[`NSXPCConnection`](/documentation/Foundation/NSXPCConnection)

A bidirectional communication channel between two processes.

[`NSXPCInterface`](/documentation/Foundation/NSXPCInterface)

An interface that may be sent to an exported object or remote object proxy.

[`NSXPCCoder`](/documentation/Foundation/NSXPCCoder)

A coder that encodes and decodes objects that your app sends over an XPC connection.

### XPC Services

[`NSXPCListener`](/documentation/Foundation/NSXPCListener)

A listener that waits for new incoming connections, configures them, and accepts or rejects them.

[`NSXPCListenerDelegate`](/documentation/Foundation/NSXPCListenerDelegate)

The protocol that delegates to the XPC listener use to accept or reject new connections.

[`NSXPCListenerEndpoint`](/documentation/Foundation/NSXPCListenerEndpoint)

An object that names a specific XPC listener.



---

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)