Re: Files and arrays
Re: Files and arrays
- Subject: Re: Files and arrays
- From: Ondra Cada <email@hidden>
- Date: Fri, 15 Nov 2002 16:32:06 +0100
On Friday, November 15, 2002, at 05:46 , Jeff Knee wrote:
NSString *linesFromFile = [[NSString alloc] initWithContentsOfFile:@"
~/addr.txt"];
Don't. Use [NSString stringWithContentsOfFile:...] instead: this one would
leak.
---
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.