• 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: Autorelease Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autorelease Question


  • Subject: Re: Autorelease Question
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 21 Nov 2008 08:35:50 -0800


On Nov 21, 2008, at 7:59 AM, Filip van der Meeren wrote:

Sorry to be this crude, but the documentation isn't created for beginners.

Sorry to be blunt, but some of it is. And Cocoa Fundamentals in particular is intended for newcomers to the platform and comparative newcomers to programming.

Whether for newcomers or not, though, the documentation should not be misleading or wrong. In this case, it's at least misleading (if for no other reason than that it encourages an unproductive line of thought).

I agree, but what would you have the documentation say ?

Per my previous reply, it should simply state that — in accordance with standard memory management rules, in a reference counted environment — the receiver does not own the returned object.

That accurately describes the situation in all cases, and doesn't encourage the reader to unnecesarily and unproductively start thinking about autorelease.

mmalc

_______________________________________________

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: 
 >Autorelease Question (From: "Carmen Cerino Jr." <email@hidden>)
 >Re: Autorelease Question (From: Joseph Crawford <email@hidden>)
 >Re: Autorelease Question (From: Alexander Spohr <email@hidden>)
 >Re: Autorelease Question (From: Adam Leonard <email@hidden>)
 >Re: Autorelease Question (From: Klaus Backert <email@hidden>)
 >Re: Autorelease Question (From: Adam Leonard <email@hidden>)
 >Re: Autorelease Question (From: Kiel Gillard <email@hidden>)
 >Re: Autorelease Question (From: Jim Correia <email@hidden>)
 >Re: Autorelease Question (From: Luke Hiesterman <email@hidden>)
 >Re: Autorelease Question (From: "Kyle Sluder" <email@hidden>)
 >Re: Autorelease Question (From: Adam Leonard <email@hidden>)
 >Re: Autorelease Question (From: Filip van der Meeren <email@hidden>)
 >Re: Autorelease Question (From: Adam Leonard <email@hidden>)
 >Re: Autorelease Question (From: Filip van der Meeren <email@hidden>)

  • Prev by Date: Re: BOOL value in Dictionary
  • Next by Date: Re: Autorelease Question
  • Previous by thread: Re: Autorelease Question
  • Next by thread: Re: Autorelease Question
  • Index(es):
    • Date
    • Thread