Re: Does -copyPath:toPath:handler run synchronously?
Re: Does -copyPath:toPath:handler run synchronously?
- Subject: Re: Does -copyPath:toPath:handler run synchronously?
- From: Michael Ash <email@hidden>
- Date: Fri, 15 May 2009 23:19:23 -0400
On Fri, May 15, 2009 at 10:41 PM, Erg Consultant
<email@hidden> wrote:
> The documentation does't say whether it runs synchronously or returns immediately before the copy completes.
Sure it does:
Return Value
YES if the copy operation is successful. If the operation is not
successful, but the callback handler of
fileManager:shouldProceedAfterError: returns YES,
copyPath:toPath:handler: also returns YES. Otherwise this method
returns NO.
It can't return success or failure until the operation has succeeded or failed.
Mike
_______________________________________________
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