Re: Confusion over FSMoveObjectToTrashSync docs
Re: Confusion over FSMoveObjectToTrashSync docs
- Subject: Re: Confusion over FSMoveObjectToTrashSync docs
- From: Randall Meadows <email@hidden>
- Date: Thu, 7 Aug 2008 14:45:41 -0600
On Aug 7, 2008, at 2:36 PM, Nate Weaver wrote:
From the docs:
"NSWorkspaceRecycleOperation
Move file to trash. The file is moved to the trash folder on the
volume containing the file[...]"
So it's definitely a bug in NSWorkspace if it doesn't work this way.
On Aug 7, 2008, at 2:37 PM, Mark Allan wrote:
My reply to the list hasn't come through yet cos it's awaiting
moderation, but basically what I said is that you should leave the
destination directory at the empty string @"" and NSWorkspace works
out for itself which trash directory to use.
Hmm...so it does. Some other article I found (cocoadev?) led me
astray then.
Thanks, guys.
_______________________________________________
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