• 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
Re: Trouble using createFileAtPath method to create file (revisited)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Trouble using createFileAtPath method to create file (revisited)
      • From: "Jaime Rios" <email@hidden>
References: 
 >Trouble using createFileAtPath method to create file (revisited) (From: "Jaime Rios" <email@hidden>)

  • Prev by Date: Trouble using createFileAtPath method to create file (revisited)
  • Next by Date: Resizing NSWindows and NSViews with NSViewAnimation
  • Previous by thread: Trouble using createFileAtPath method to create file (revisited)
  • Next by thread: Re: Trouble using createFileAtPath method to create file (revisited)
  • Index(es):
    • Date
    • Thread