In this chapter, we’ll provide an overview of XPC mechanisms and their main concepts, and we’ll present the most typical use case.
XPC Basics
Cross Process Communication (XPC) is a lightweight mechanism for interprocess communication integrated with Grand Central Dispatch (GCD) and launchd.
XPC is designed as a native bidirectional way to exchange data. It follows a classic approach of data exchange over connection. It assumes that there is a server (listener) and multiple clients (connections).