• 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: controllers, delegates, retain, release ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: controllers, delegates, retain, release ... (From: Charles Steinman <email@hidden>)
 >Re: controllers, delegates, retain, release ... (From: Adam P Jenkins <email@hidden>)

  • Prev by Date: Re: Unobserved Changes
  • Next by Date: Undo vs NSArrayController
  • Previous by thread: Re: controllers, delegates, retain, release ...
  • Next by thread: Re: controllers, delegates, retain, release ...
  • Index(es):
    • Date
    • Thread