Re: [Newbie Q] Memory Management in Cocoa
Re: [Newbie Q] Memory Management in Cocoa
- Subject: Re: [Newbie Q] Memory Management in Cocoa
- From: mmalcolm crawford <email@hidden>
- Date: Tue, 5 Nov 2002 11:50:42 -0800
On Tuesday, November 5, 2002, at 10:22 AM, Flemming Bengtsson wrote:
I'm getting a little bit confused about when to dealloc an instance.
It's obvious that instances created like [[foo alloc] init ]; should be
deallocated when done with.
But what about instances created like:
NSString * aNSString = [NSString stringWithCString:"Hello" length:5];
http://www.stepwise.com/Articles/Technical/2001-03-11.01.html
and a variety of other articles at Stepwise and elsewhere...
mmalc
_______________________________________________
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.