Re: FSCopyAsync Example + Updating UI
Re: FSCopyAsync Example + Updating UI
- Subject: Re: FSCopyAsync Example + Updating UI
- From: Eric Schlegel <email@hidden>
- Date: Mon, 23 Oct 2006 00:14:17 -0700
On Oct 22, 2006, at 4:02 PM, Mark Manes wrote:
Greetings,
I am looking for an example of how to properly implement FSCopyAsync
that allows me to update the status of the UI during the callback.
Clearly I can't call a method within the callback as I don't have
the objects necessary.
You can pass a pointer to an object in the "info" field of the
FSFileOperationClientContext parameter to FSCopyObjectAsync, and then
in your callback proc, cast the pointer back to your object type and
call methods on it.
-eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden