This seems like a topic that has probably been covered before, but I haven't 
been able to locate much in the way of prior relevant discussion.

I have a Cocoa app that (among other things) installs an agent in launchd that 
runs in the background.  The agent installation happens when the app is first 
launched after install.

I'd like to support the drag-to-trash approach to uninstalling.  Can my 
background agent listen for some notification that would allow me to detect 
that the app bundle has been dragged to the trash, so I can clean up properly?



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to