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

FSCopyAsync Example + Updating UI


  • Subject: FSCopyAsync Example + Updating UI
  • From: Mark Manes <email@hidden>
  • Date: Sun, 22 Oct 2006 16:02:01 -0700

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. I see people discuss the use of NSRunLoop -- but I don't quite get it.

I'd love a working example that copied files and updated the progress using NSProgressIndicator.

Seems like a pretty common thing that people might want to do--I am sure it would benefit many of someone would take the time to show a good example.

PS: I did see the Apple documetnation on FSCopyAsync and in fact I have the code working that copies the files properly. I just want to tell my user what is going on. :)

Many thanks in advance!

-mark=

Mark D. Manes


_______________________________________________ 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
  • Follow-Ups:
    • Re: FSCopyAsync Example + Updating UI
      • From: Mike Abdullah <email@hidden>
    • Re: FSCopyAsync Example + Updating UI
      • From: Eric Schlegel <email@hidden>
  • Prev by Date: Re: Focus Rings
  • Next by Date: Re: Focus Rings
  • Previous by thread: Re: Focus Rings
  • Next by thread: Re: FSCopyAsync Example + Updating UI
  • Index(es):
    • Date
    • Thread