Re: retain and autorelease
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.