• 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: [Newbie] writing plain text to a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie] writing plain text to a file


  • Subject: Re: [Newbie] writing plain text to a file
  • From: Chris Garaffa <email@hidden>
  • Date: Sat, 1 Mar 2003 00:28:58 -0500

Thanks to everyone!

I went with Scott Anguish's code:

BOOL wroteFile = [[numArray componentsJoinedByString:@"\n"] writeToFile:numFileLocation atomically:YES];

because it seemed to be the most simple and accomplishes exactly what I wanted.

But I appreciate everyone's input. The application is now done (according to my company's requirements), but I'm going to be expanding it (in my quest for Cocoa knowledge) to use a table view. I promise, no more simple/stupid questions though ;)

--
Chris Garaffa
email@hidden
http://moondrop.heli0s.net/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Solved? Cocoa/Java - NSCoding woes...
  • Next by Date: Re: Writing a 0xFE to the serial port
  • Previous by thread: Re: Solved? Cocoa/Java - NSCoding woes...
  • Next by thread: RE: [Newbie] writing plain text to a file
  • Index(es):
    • Date
    • Thread