stringByAppendingBlahBlah woes
stringByAppendingBlahBlah woes
- Subject: stringByAppendingBlahBlah woes
- From: Jérome Foucher <email@hidden>
- Date: Fri, 26 Sep 2003 10:10:59 +0200
Hi all,
I didn't find the answer in the doc nor in the books I have, so here it
is :
if I call :
NSString* path;
path = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"];
exists = [[NSFileManager defaultManager] fileExistsAtPath:path];
do I have to release path ? or will it be autoreleased ? or do I have
to bracket the call by an NSAutoReleasePool ?
Thanks
Jerome
_______________________________________________
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.