• 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
Solved: Append to file with NSString writeToFile:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solved: Append to file with NSString writeToFile:


  • Subject: Solved: Append to file with NSString writeToFile:
  • From: <email@hidden>
  • Date: Mon, 28 Feb 2005 10:46:54 +0000

> So now the question is, how do I create a file to write to?  Will keep looking through the docs.  Thanks.
>
> James

Well, I believe that [[NSFileManager defaultManager] createFileAtPath:pathToFile contents:nil attributes:nil] does the trick just fine!  File created exactly as I was wanting it to.  Thanks for all the help, guys!  Back to work...

James

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: RE: Changing the IBeamCursor colour in an NSTextView
  • Next by Date: Re: Append to file with NSString writeToFile:
  • Previous by thread: Solved: Changing initial value of isDocumentEdited
  • Next by thread: NSApp beginSheet: behaving oddly
  • Index(es):
    • Date
    • Thread