Re: Calling -addObserver:forKeyPath: … more than once
Re: Calling -addObserver:forKeyPath: … more than once
- Subject: Re: Calling -addObserver:forKeyPath: … more than once
- From: Sean McBride <email@hidden>
- Date: Fri, 26 Aug 2011 14:42:27 -0400
- Organization: Rogue Research Inc.
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