• 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: Adam Leonard <email@hidden>
  • Date: Thu, 3 Apr 2008 20:09:31 -0700

Sorry, you still are not really getting it.
There is nothing wrong with the documentation
You are not dealing with any exceptions to the rules

Cocoa memory management is quite unique and it can take a while to understand and get used to.
Just try to let everything sink in, read some open source Cocoa code, and eventually it should make sense.


3. but I agree with Adam comment that the rule isn't 100% reliable and therefore isn't good enough
And just to correct the record, that is not what I said at all :). There is no rule that says all objects not created with "alloc" "new" or "copy" are autoreleased. Once you understand how everything works and learn to follow the rules, you will understand why that does not make any difference whatsoever.

If you want me to clarify anything I have said, feel free to ask off list.

Adam Leonard
_______________________________________________

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: Dmitry Markman <email@hidden>)
 >Re: Autorelease question (From: Robert Claeson <email@hidden>)
 >Re: Autorelease question (From: Jens Alfke <email@hidden>)
 >Re: Autorelease question (From: Dmitry Markman <email@hidden>)
 >Re: Autorelease question (From: Dmitry Markman <email@hidden>)
 >Re: Autorelease question (From: Rob Keniger <email@hidden>)
 >Re: Autorelease question (From: Dmitry Markman <email@hidden>)
 >Re: Autorelease question (From: Chris Suter <email@hidden>)
 >Re: Autorelease question (From: Dmitry Markman <email@hidden>)

  • Prev by Date: Image in NSPopupButtonCell
  • Next by Date: Re: Autorelease question
  • Previous by thread: Re: Autorelease question
  • Next by thread: Re: Autorelease question
  • Index(es):
    • Date
    • Thread