Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to de-register value observers




On Aug 29, 2007, at 8:54 AM, Tron Thomas wrote:

An instance 0x30fda0 of class <My Window Controller Class> is being deallocated while key value observers are still registered with it. Break on _NSKVODeallocateLog to start debugging.

I'm assuming this message indicates a problem with the implementation for my window controller class, and I would like to eliminate that problem. What is needed to prevent this message from occurring?

<file:///Developer/ADC%20Reference%20Library/documentation/Cocoa/ Reference/Foundation/Protocols/NSKeyValueObserving_Protocol/Reference/ Reference.html#//apple_ref/occ/instm/NSObject/ removeObserver:forKeyPath:>


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

This email sent to email@hidden
References: 
 >How to de-register value observers (From: Tron Thomas <email@hidden>)



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.