Re: From text file to NSString...
Re: From text file to NSString...
- Subject: Re: From text file to NSString...
- From: Ondra Cada <email@hidden>
- Date: Thu, 4 Jul 2002 17:26:40 +0200
On Thursday, July 4, 2002, at 04:47 , Arthur VIGAN wrote:
I'm trying to read a text file from my app and transform it into a
NSString*. Do someone see how I can do that?
I found the readRTFDFromFile method for NSText, but my file is a real text
file, not RTF.
See NSString documentation, then (those stringWith... messages).
In case it is non-plain-ASCII, you want to check NSData's dataWith... and
NSString initWith... to be able to specify any string encoding.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.