• 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
[SOLVED] Re: FSCopyObjectASync Not Calling Callback In Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


  • Follow-Ups:
    • Re: [SOLVED] Re: FSCopyObjectASync Not Calling Callback In Cocoa
      • From: "stephen joseph butler" <email@hidden>
References: 
 >Re: FSCopyObjectASync Not Calling Callback In Cocoa (From: Mike Fischer <email@hidden>)

  • Prev by Date: Re: Trouble with NSPopUpButton and hierarchical menus?
  • Next by Date: Re: Text attachment not deleted from NSTextView
  • Previous by thread: Re: FSCopyObjectASync Not Calling Callback In Cocoa
  • Next by thread: Re: [SOLVED] Re: FSCopyObjectASync Not Calling Callback In Cocoa
  • Index(es):
    • Date
    • Thread