© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
H. DuttInterprocess Communication with macOShttps://doi.org/10.1007/978-1-4842-7045-5_8

8. IPC Through XPC

Hem Dutt1  
(1)
North Delhi, Delhi, India
 

So far, we have discussed many IPC techniques for macOS. The latest is XPC which we are going to discuss in this chapter. Before XPC, a common way to use IPC, and provide services between processes, was through Sockets, Mach messages, or distributed objects.

Apple now encourages developers to use XPC in applications and frameworks that provide services. Also, Apple has updated many of its frameworks, daemons, and applications to use XPC.

XPC provides us with a new level of abstraction for IPC. But aside from providing ...

Get Interprocess Communication with macOS: Apple IPC Methods now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.