macOS Daemonology - Communicate with Daemons, Agents, and Helpers Through XPC (Paperback, 1st ed.)


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 daemons-processes that run in the background-to 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. 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.

R1,021

Or split into 4x interest-free payments of 25% on orders over R50
Learn more

Discovery Miles10210
Mobicred@R96pm x 12* Mobicred Info
Free Delivery
Delivery AdviceShips in 12 - 17 working days


Toggle WishListAdd to wish list
Review this Item

Product Description

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 daemons-processes that run in the background-to 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. 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.

Customer Reviews

No reviews or ratings yet - be the first to create one!

Product Details

General

Imprint

Apress

Country of origin

United States

Release date

October 2021

Availability

Expected to ship within 12 - 17 working days

First published

2021

Authors

Dimensions

235 x 155mm (L x W)

Format

Paperback

Pages

154

Edition

1st ed.

ISBN-13

978-1-4842-7276-3

Barcode

9781484272763

Categories

LSN

1-4842-7276-5



Trending On Loot