| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I'm not exactly sure how you are suggesting that NSNotificationCenter would be used.
On Sep 3, 2007, at 12:29 PM, Tron Thomas wrote:
removeObserver:forKeyPath: is the equivalent for addObserver:forKeyPath:options:context, which is call by the object that wants to observe the value.
Since the observing object registers itself, it seems that the same object should de-register itself as well. I'm not sure how every registered object is supposed to know that the window controller is deallocating itself so they can de-register themselves.
The first thing I would try is using NSNotificationCenter...
Nick Zitzmann <http://www.chronosnet.com/>
_______________________________________________
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: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
| References: | |
| >How to de-register value observers (From: Tron Thomas <email@hidden>) | |
| >Re: How to de-register value observers (From: Nick Zitzmann <email@hidden>) | |
| >Re: How to de-register value observers (From: Tron Thomas <email@hidden>) | |
| >Re: How to de-register value observers (From: Nick Zitzmann <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.