• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
cleanly support drag-to-trash for uninstall?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cleanly support drag-to-trash for uninstall?


  • Subject: cleanly support drag-to-trash for uninstall?
  • From: Carl Harris <email@hidden>
  • Date: Fri, 05 Aug 2011 11:04:20 -0400

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: cleanly support drag-to-trash for uninstall?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: view:(QTMovieView *)view willDisplayImage:
  • Next by Date: Re: Filter an array
  • Previous by thread: Re: NSFileManager - a cautionary tale
  • Next by thread: Re: cleanly support drag-to-trash for uninstall?
  • Index(es):
    • Date
    • Thread