Re: Save Plain Text
Re: Save Plain Text
- Subject: Re: Save Plain Text
- From: John Anderson <email@hidden>
- Date: Sat, 6 Jul 2002 12:33:10 -0700
Perhaps I'm misunderstanding your question, but assuming that it's an
NSString that you want to save to a file, just use something like this:
NSString *myNeatoString = @"Hello, world!";
NSString *myFilePath = @"/Users/Shared/hello.txt";
[myNeatoString writeToFile:myFilePath atomically:YES];
John Anderson
On Saturday, July 6, 2002, at 11:49 AM, Luca Torella wrote:
If I have a path and I'd save in it plain text what method do I have
to use?
Thanks, Luca
_______________________________________________
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.
_______________________________________________
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.