October 2021
Intermediate to advanced
158 pages
2h 5m
English
In this chapter, we’ll discuss the simplest type of daemon: an XPC service.
XPCService is probably the simplest form of daemon in macOS from the developer’s perspective. XPC services are usually lightweight helper tools that run and perform work on demand.
Tightly bound to a specific app
Run as a user
Always background; don’t show a UI
Bundled executable
May be embedded into the framework
AppStore compatible
Read now
Unlock full access