• 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: FSCopyAsync Example + Updating UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >FSCopyAsync Example + Updating UI (From: Mark Manes <email@hidden>)

  • Prev by Date: Odd -keyDown problem
  • Next by Date: Changing drag image during drag
  • Previous by thread: FSCopyAsync Example + Updating UI
  • Next by thread: Re: FSCopyAsync Example + Updating UI
  • Index(es):
    • Date
    • Thread