Re: File Input
Re: File Input
- Subject: Re: File Input
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 1 Dec 2004 16:44:48 -0800
On Nov 29, 2004, at 8:53 AM, Danielle MacNevin wrote:
Hey there,
I've been looking into file input with Objective c in cocoa, but I
haven't gotten very far. I've read over
http://developer.apple.com/documentation/Cocoa/Conceptual/TextIO/
Tasks/UsingTextIO.html and
http://developer.apple.com/documentation/Cocoa/Conceptual/Streams/
Articles/ReadingInputStreams.html a few times but I was looking for
some more documentation and I wasn't coming across much on my
searches.
I was wondering if someone knew of a site that had some good
documentation on reading in files in objective c, or if anyone could
provide some simple sample code.
If you just want to read files, then NSStream is not what you're after.
See NSString and NSData's -initWithContentsOfFile: and
-initWithContentsOfURL: methods.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden