• 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
Re: how to move files to trash?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to move files to trash?


  • Subject: Re: how to move files to trash?
  • From: Sascha Kujawa <email@hidden>
  • Date: Wed, 29 Oct 2003 22:09:22 +0100

Have you looked at NSWorkspaceRecycleOperation in NSWorkspace? I've never used it myself, so I don't know if / how it works.

yes... that works like a charm, thanks alot! :)


Btw, I also just found another, completely unrelated, nice feature
of NSWorkspace that saved me hours and only took 10 seconds
to implement (without further to-be-done optimizations so far):

[aCell setImage:[[NSWorkspace sharedWorkspace] iconForFile:tempPath]];


With greetings from Germany
Sascha Kujawa
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Updating the Trash icon in OS 10.1 (From: Chad Armstrong <email@hidden>)
 >how to move files to trash? (From: Sascha Kujawa <email@hidden>)
 >Re: how to move files to trash? (From: j o a r <email@hidden>)

  • Prev by Date: drawing into an image
  • Next by Date: Re: NSImage handling...
  • Previous by thread: Re: how to move files to trash?
  • Next by thread: Re: how to move files to trash?
  • Index(es):
    • Date
    • Thread