Re: Stacks & Memory Management.
Re: Stacks & Memory Management.
- Subject: Re: Stacks & Memory Management.
- From: Bill Bumgarner <email@hidden>
- Date: Sun, 21 Dec 2008 12:37:17 -0800
On Dec 21, 2008, at 12:31 PM, Alex Kac wrote:
For curiosity sake - care to share?
The retain count of any given objet at any given time is entirely an
implementation detail.
If you can guarantee that an instance of a class that you created has
*never* passed through *any* of the system provided APIs, then you can
rely upon the retain count. As soon as you pass your object into
someone else's framework, that framework's code may -retain/-release/-
autorelease the object in any way it sees fit as long as it follows
the Cocoa Memory Management Guidelines.
b.bum
_______________________________________________
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