• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Simple dealloc question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Simple dealloc question (From: Bob Ueland <email@hidden>)

  • Prev by Date: Re: Simple dealloc question
  • Next by Date: Fwd: Memory leaks when running an apple event
  • Previous by thread: Re: Simple dealloc question
  • Next by thread: Re: Simple dealloc question
  • Index(es):
    • Date
    • Thread