• 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: Calling -addObserver:forKeyPath:… more than once
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling -addObserver:forKeyPath:… more than once


  • Subject: Re: Calling -addObserver:forKeyPath:… more than once
  • From: Rick Mann <email@hidden>
  • Date: Fri, 26 Aug 2011 12:43:41 -0700

Thanks for verifying!

On Aug 26, 2011, at 11:42 , Sean McBride wrote:

> On Fri, 26 Aug 2011 09:09:19 -0500, Heath Borders said:
>
>> You must call remove as many times as you call add.  Otherwise,
>> subclasses and superclasses would interfere with each other's
>> observations.
>
> Also, see the 10.7 Foundation Release Notes "More Precise Removal of Key-Value Observers".
>
> --
> ____________________________________________________________
> 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

References: 
 >Calling -addObserver:forKeyPath:… more than once (From: Rick Mann <email@hidden>)
 >Re: Calling -addObserver:forKeyPath:… more than once (From: Heath Borders <email@hidden>)
 >Re: Calling -addObserver:forKeyPath: … more than once (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: rightMouseDown: never called in NSView subclass
  • Next by Date: Re: Calling -addObserver:forKeyPath:… more than once
  • Previous by thread: Re: Calling -addObserver:forKeyPath: … more than once
  • Next by thread: Re: Calling -addObserver:forKeyPath:… more than once
  • Index(es):
    • Date
    • Thread