• 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
addObserver:forKeyPath:options:context: memory management in GC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

addObserver:forKeyPath:options:context: memory management in GC


  • Subject: addObserver:forKeyPath:options:context: memory management in GC
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 17 Nov 2009 13:14:00 -0500
  • Organization: Rogue Research Inc.

Hi all,

The docs for addObserver:forKeyPath:options:context: say "Neither the
receiver, nor anObserver, are retained.".  They don't comment on the
garbage collected case specifically.  Does any know for sure?

Does calling this method add a strong reference between the receiver and
'anObserver'?  (I'm assuming not.)

Thanks,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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

  • Follow-Ups:
    • Re: addObserver:forKeyPath:options:context: memory management in GC
      • From: "Lukhnos D. Liu" <email@hidden>
  • Prev by Date: Re: Scanning
  • Next by Date: Re: How to replace ComboBoxCell with TextFieldCell when not editing
  • Previous by thread: Re: [iPhone] customizing UIView animation run background color
  • Next by thread: Re: addObserver:forKeyPath:options:context: memory management in GC
  • Index(es):
    • Date
    • Thread