from NSString to text file

SummerLand
Unregistered
 
Post: #1
How I can save an NSString to a .txt file in a non Document based Cocoa app? Thanx
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
A quick flick through the NSString documentation reveals -[NSString writeToFile:atomically:].
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Read a text file line by line? jdunehew 6 11,656 Dec 29, 2011 11:54 AM
Last Post: Blacktiger
  Malloc() Struct with NSString Inside? Graphic Ace 3 4,783 Jan 26, 2010 05:32 PM
Last Post: cmiller
  Can't use NSString to put a number on screen? kensuguro 3 5,000 Nov 7, 2005 01:16 AM
Last Post: Jordan
  Getting Number From Character In NSString Nick 2 4,486 Oct 31, 2005 10:08 AM
Last Post: Nick
  Getting text from a window text field mars 7 4,879 Mar 26, 2005 06:06 PM
Last Post: OneSadCookie