• 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: Does -copyPath:toPath:handler run synchronously?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Does -copyPath:toPath:handler run synchronously? (From: Erg Consultant <email@hidden>)

  • Prev by Date: Re: IP detection code by country
  • Next by Date: Re: NSCFArray autoreleased with no pool in place
  • Previous by thread: Does -copyPath:toPath:handler run synchronously?
  • Next by thread: Re: Cocoa-dev Digest, Vol 6, Issue 742
  • Index(es):
    • Date
    • Thread