• 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
NSString and writeToFile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSString and writeToFile


  • Subject: NSString and writeToFile
  • From: Miguel Nunes Correia <email@hidden>
  • Date: Mon, 22 Sep 2003 20:41:43 +0100

Hi,
I'm writing a program that generates some text in NSString and I want to save it into a file to a specific path chosen by the user. The problem is that it gives me this error : "*** +[NSString writeToFile:atomically:]: selector not recognized" and doesn't save the file making application exit with status 0.

Here is where I call writeToFile:
table = [NSString writeToFile:filePath atomically:YES];


Thanks in advance, SirconSW
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSString and writeToFile
      • From: Nick Zitzmann <email@hidden>
    • Re: NSString and writeToFile
      • From: Sean Long <email@hidden>
  • Prev by Date: Re: Declaring large (but not that large) array causes crash?
  • Next by Date: Re: Callbacks and autorelease pools
  • Previous by thread: Re: Callbacks and autorelease pools
  • Next by thread: Re: NSString and writeToFile
  • Index(es):
    • Date
    • Thread