• 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
NSFileManager's errors in 10.5, where are they documented?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFileManager's errors in 10.5, where are they documented?


  • Subject: NSFileManager's errors in 10.5, where are they documented?
  • From: Jonathan Dann <email@hidden>
  • Date: Mon, 26 May 2008 18:24:52 +0100

Hi Guys,

In my app I need to move some files around on occasion. Looking at 10.5's -copyItemAtPath:toPath:error: seems to be the way to go. In the corresponding error delegate method I should really be testing to see which error occurred, i.e. if the file already exists at the destination, however I can't find the documentation about which errors can occurr. Do these docs exist and if not, other than messing with permissions and trying to force common file handling errors, what error codes should I test for? Just returning NO in the delegate seems a little brutish!

Thanks for any advice,

Jon
_______________________________________________

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: NSFileManager's errors in 10.5, where are they documented?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: No-frills print to label printer help please
  • Next by Date: Re: File's Owner
  • Previous by thread: Re: defined but not used error
  • Next by thread: Re: NSFileManager's errors in 10.5, where are they documented?
  • Index(es):
    • Date
    • Thread