May 2021
Intermediate to advanced
295 pages
4h 25m
English
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 ...