MacOS daemonology : communicate with daemons, agents, and helpers through XPC /

Saved in:
Bibliographic Details
Author / Creator:Vashurkin, Volodymyr, author.
Imprint:[Berkeley] : Apress, [2021]
©2021
Description:1 online resource : illustrations
Language:English
Subject:
Format: E-Resource Book
URL for this record:http://pi.lib.uchicago.edu/1001/cat/bib/13692922
Hidden Bibliographic Details
ISBN:9781484272770
1484272773
9781484272763
1484272765
Digital file characteristics:text file
PDF
Notes:Includes index.
Online resource; title from PDF title page (SpringerLink, viewed October 14, 2021).
Summary:Take advantage of the full power of Swift through XPC. Development for macOS differs from iOS and web-based development because of multicomponent applications. Besides the usual GUI-based applications and app extensions, there are a wide range of daemonsprocesses that run in the backgroundto worry about. These include system monitoring, event listening, notification agents, and many-many more. 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. Theres 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. You will: 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.
Other form:Print version: Vashurkin, Volodymyr. MacOS daemonology. [Berkeley] : Apress, [2021] 1484272765 9781484272763
Standard no.:10.1007/978-1-4842-7277-0
Table of Contents:
  • Part 1. Daemons in the Wild
  • Chapter 1. Operating System Background World
  • Chapter 2. Daemon Anatomy
  • Chapter 3. Daemon Management
  • Part 2. Daemons in Detail
  • Chapter 4. Daemons at a Glance
  • Chapter 5. Classic Daemons
  • Chapter 6. Privileded Helper
  • Chapter 7. System Extension (since macOS 10.15)
  • Chapter 8. User Agent
  • Chapter 9. XPC Service
  • Chapter 10. Login Item
  • Part 3. Talking to your Daemons
  • Chapter 11. XPC at a Glance
  • Chapter 12. Pass objects by-copy over XPC. NSSecureCoding
  • Chapter 13. Pass object by proxy: the callable XPC objects
  • Chapter 14. NSXPCListenerEndpoint
  • XPC service sharing.