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 ...