Memory Mysteries
Memory Mysteries
- Subject: Memory Mysteries
- From: email@hidden
- Date: Fri, 25 Jul 2003 19:54:19 -0400
Hello,
I'm a little confused about managing memory in cocoa. I know I should
release objects that have been allocated like this:
NSObject *object = [[NSObject alloc] init];
But do you release things like this?
NSFileManager *fm = [NSFileManager defaultManager];
Or things like this:
NSString *string = [@"~/Desktop/" stringByExpandingTildeInPath];
-Alex P.
_______________________________________________
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.