[quote='852111022, MrZnuk, /thread/794920?answerId=852111022#852111022, /profile/MrZnuk'] If you have any tips or guidelines, I'll gladly take them :) [/quote] And I’m happy to offer them (-: Mac users expect apps to act like apps. If you double click an app, it should present a UI. But they also understand app lifetimes. If the user starts a long-running task in the app, they expect the task to be tied to the lifetime of the app. So, if they quit the app, it wouldn’t come as a surprise for if that cancels the task. Most apps like this will present a ‘Are you sure you want to quit?’ alert in this case, just to be sure. If you want to separate the code into two separate processes, that’s fine. I see two common reasons for this: Security — You want to restrict or extend what resources this code has access to. Reliability — You don’t want a crash in this code to take out your entire app. There are two common ways to do this: Put the code in an XPC service. Or a helper process. Or a helper app. App-scope
Topic:
App & System Services
SubTopic:
Core OS