Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble using createFileAtPath method to create file (revisited)



Hi,
I'm not familiar with how to create a link to the original post. The subject
of the post is the same as this one, except for the word "(revisisted)".


-- 
-Jaime
http://www.jaimerios.com

On 10/18/07, I. Savant <email@hidden> wrote:
>
> > 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Trouble using createFileAtPath method to create file (revisited) (From: "Jaime Rios" <email@hidden>)
 >Re: Trouble using createFileAtPath method to create file (revisited) (From: "I. Savant" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.