Re: Calling -addObserver:forKeyPath:… more than once
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