• 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: retain and autorelease
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: retain and autorelease


  • Subject: Re: retain and autorelease
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 14 Nov 2003 14:26:27 -0800

On Nov 14, 2003, at 1:26 PM, Ben Dougall wrote:

that's something i've never been sure on - the lifetime of an unretained object like that. you say it'll probably hang round until the end of the current method - what about if there's a method call inbetween the above non retained convenience creation and the end of the current method? even a simple presumably short/quick method call like adding an object to an array for exmaple? that takes the thread elsewhere, out of the current method. would it still be ok not to retain do you think?

See:
<http://www.stepwise.com/Articles/Technical/2002-06-11.01.html/>

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.

References: 
 >Re: retain and autorelease (From: Ben Dougall <email@hidden>)

  • Prev by Date: Re: Problem with RTF and NSTextView
  • Next by Date: Re: retain and autorelease
  • Previous by thread: Re: retain and autorelease
  • Next by thread: Re: retain and autorelease
  • Index(es):
    • Date
    • Thread