macOS Daemonology: Communicate with Daemons,Agents,and Helpers Through XPC


macOS Daemonology: Communicate with Daemons,Agents,and Helpers Through XPC
Author: Volodymyr Vashurkin
Publisher Finelybook 出版社: Apress; 1st ed. edition (8 Oct. 2021)
Language 语言: English
pages 页数: 167 pages
ISBN-10 书号: 1484272765
ISBN-13 书号: 9781484272763


Book 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.
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.

打赏
未经允许不得转载:finelybook » macOS Daemonology: Communicate with Daemons,Agents,and Helpers Through XPC

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏