Re: Trouble using createFileAtPath method to create file (revisited)
Re: Trouble using createFileAtPath method to create file (revisited)
- Subject: Re: Trouble using createFileAtPath method to create file (revisited)
- From: "I. Savant" <email@hidden>
- Date: Thu, 18 Oct 2007 13:00:12 -0400
> I posted a question before about not being able to create a file using
> method createFileAtPath, however I never got an answer about how to get the
> reason why the file wasn't created. So, how do I get the error code? Thanks!
You may want to provide a link to the discussion in the archives or
restate all the details you have in this one; make it easy for people
to help you.
As to your question, nothing about that method in the documentation
mentions anything at all about error codes. It only returns a boolean
representing success or failure. That would suggest you might need to
use a different method or perform some error checking before
attempting to write if you still want to use that method.
--
I.S.
_______________________________________________
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