[SOLVED] Re: FSCopyObjectASync Not Calling Callback In Cocoa
[SOLVED] Re: FSCopyObjectASync Not Calling Callback In Cocoa
- Subject: [SOLVED] Re: FSCopyObjectASync Not Calling Callback In Cocoa
- From: Matt Long <email@hidden>
- Date: Thu, 1 May 2008 11:03:02 -0600
Thanks for the help. The first response I got (Steve) was the correct
one for what I was needing. I didn't correctly schedule with the run
loop.
Here's a couple of points
Mike Fischer suggested that the operation was completing in less time
than the one second specified. This is a good thought, but the file
I'm copying is about 1GB (video file).
John Daub suggested that it might be a C++ issue. It doesn't appear
that this is the issue. I've gotten it working without specifying the
extern C pre-processor calls. Thanks, though.
Stephen Butler pointed out that I need to use -[NSString
fileSystemRepresentation]. I have switched to this and it works. I not
real familiar with this call, but it looks like it's working. I'll
look into why this is the better choice. I'm just not familiar.
Anyhow, thanks again. If you would like to see the completed code,
write me offline. I am updating a progress indicator in the callback.
Seems to work pretty well.
-Matt
_______________________________________________
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