• 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: Kyle Moffett <email@hidden>
  • Date: Fri, 14 Nov 2003 19:24:54 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Nov 14, 2003, at 18:41, Ben Dougall wrote:
On Friday, November 14, 2003, at 10:27 pm, Kyle Moffett wrote:

i see, so an object that's got from a convenience method by your method and not retained by your method, is absolutely guaranteed to at least hang round until the end of your method (as in reaching the end or coming across a return), so long as nothing else effects it elsewhere somehow.

Assuming that your autorelease pools are not released anywhere except the method they are created in, you are ok, yes.

Cheers,
Kyle Moffett



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/tXJWag7LSGnFq10RAoxzAJ97w6zI/2/mp7MSofekMp9bVdETWgCgyS2U
n4f8UqC78ur4GYp/chwVolI=
=SJDI
-----END PGP SIGNATURE-----
_______________________________________________
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: retain and autorelease
  • Next by Date: Foundation with autoconf, automake, and libtool
  • Previous by thread: Re: retain and autorelease
  • Next by thread: Re: retain and autorelease
  • Index(es):
    • Date
    • Thread