NSFileManager's errors in 10.5, where are they documented?
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