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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to