Re: controllers, delegates, retain, release ...
Re: controllers, delegates, retain, release ...
- Subject: Re: controllers, delegates, retain, release ...
- From: j o a r <email@hidden>
- Date: Sat, 23 Feb 2008 01:19:45 +0100
On Feb 23, 2008, at 12:10 AM, Adam P Jenkins wrote:
Where is this magic documented? The documentation for CFRetain
doesn't mention this usage.
See: <http://developer.apple.com/documentation/Cocoa/Conceptual/GarbageCollection/Introduction.html
>
Using CFRetain on an object doesn't quite "disable collection" for the
object, but rather bumps its retain count (Yes, RC in GC!). A retain
count > 0 will prevent collection - even if there are no other
references to this object that would otherwise keep it alive.
j o a r
_______________________________________________
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