Overview
- Understand macOS daemons—the world beyond shiny GUI apps
- Use the flexibility and power of dameons and agents to build multicomponent applications
- Dive into approaches and techniques of communication across processes using XPC connection
Access this book
Tax calculation will be finalised at checkout
Other ways to access
Table of contents (16 chapters)
-
Daemons in a wild
-
Daemons in Detail
-
Talking to your daemons
Keywords
About this book
First, you'll take a tour around different types of daemons: user agents, privileged helpers, login items, XPC services, and System Extensions. Knowing key specifics of the daemons will open a wide range of possibilities from non-trivial application development to system development. You'll find lots of examples, working code samples, and even ready-to-use utilities. The book will guide you step-by-step through preparation, registration, and management of all kinds of daemons.
System Extensions are brand new for macOS and open additional powerful features for developers. You'll explore installation, user flow, and communication with System Extensions, too, with examples, of course. XPC provides an object-oriented way of communication. There’s no need for custom byte/text-based protocols. A good macOS developer has to know not only programming interfaces, but also design patterns related to technology. XPC communication has a few patterns of its own, and we'll go through them all, including uni- and bi-directional communication, passing objects by-value and by-proxy, handling connection invalidation, named and anonymous connections, and many more.
What You'll Learn
- Use multiples types of daemons in your applications
- Deal with System Extensions – the new type of system daemons
- Get acquainted with Swift bridging patterns for XPC communication
Who This Book Is For
Software developers and solution architects with at least a working knowledge of macOS and Swift programming. As overview, may be interested for software/solution architects.
Authors and Affiliations
About the author
Bibliographic Information
Book Title: macOS Daemonology
Book Subtitle: Communicate with Daemons, Agents, and Helpers Through XPC
Authors: Volodymyr Vashurkin
DOI: https://doi.org/10.1007/978-1-4842-7277-0
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)
Copyright Information: Volodymyr Vashurkin 2021
Softcover ISBN: 978-1-4842-7276-3Published: 08 October 2021
eBook ISBN: 978-1-4842-7277-0Published: 07 October 2021
Edition Number: 1
Number of Pages: XIII, 154
Number of Illustrations: 34 b/w illustrations
Topics: Apple and iOS