Re: Simple dealloc question
Re: Simple dealloc question
- Subject: Re: Simple dealloc question
- From: Robert Cerny <email@hidden>
- Date: Mon, 15 Oct 2007 11:53:31 +0200
On 15.10.2007, at 11:34, Bob Ueland wrote:
Thank you Robert and Amritendu, now I understand.
I have one more question. In the same code there is
// Standard accessors
- (Track *)track
{
return [[track retain] autorelease];
}
Why not just
// Standard accessors
- (Track *)track
{
return track;
}
Bob
Bob,
there was a discussion about it on this list, you can check archives.
You can also read this article: <http://www.stepwise.com/Articles/
Technical/2002-06-11.01.html>
HTH
Robert
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden