On 15 Feb 2013, at 05:22, Graham Cox <graham....@bigpond.com> wrote:
> > On 15/02/2013, at 1:55 PM, Jim Zajkowski <jim.zajkow...@gmail.com> wrote: > >> s there anything that provides the level of progress that FSCopyObjectAsync >> does but gives the callback more control like copyfile() does? > > > You could look into NSFileManager's -copyItemAtURL:toURL:error: method which, > in conjunction with a delegate implementing appropriate methods, gives you > both progress feedback as well as a mechanism for error recovery. Not sure > what performance will be like though. The glaring flaw in NSFileManager for this is it can't give progress callbacks for individual files; something that becomes quite important when copying a GB of data! It might be interesting to use NSFileManager's directory enumeration features to drive the copying of individual files though. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com