Re: Cannot remove an observer ... because it is not registered as an observer.

2008-05-06 Thread Hamish Allan
On Tue, May 6, 2008 at 2:27 PM, Steve Steinitz <[EMAIL PROTECTED]> wrote: > All my properties have a setters and getters and have the appropriate calls > to > > will|did Access|Change ValueForKey > > before/after any change. Is there more that I need to do? You don't say whether or not you

Re: Cannot remove an observer ... because it is not registered as an observer.

2008-05-06 Thread Steve Steinitz
Summary: KVO compliance discussion Detailed problem description Request (to Jens) for clarification What I've tried A failed workaround A crappy, unsound workaround Hi Jens, Jack and List Participants, Thanks, Jens, for your reply. On 4/5/08, Jens Alfke wrote: Cannot

Re: Cannot remove an observer ... because it is not registered as an observer.

2008-05-05 Thread Jack Repenning
On May 4, 2008, at 10:07 PM, Jens Alfke wrote: The usual cause of this is that you have a property that isn't KVO- compliant. Something accesses your 'foo' property and registers as an observer of that property, and also as an observer of the object that's the property's current value; you c

Re: Cannot remove an observer ... because it is not registered as an observer.

2008-05-04 Thread Jens Alfke
On 4 May '08, at 3:35 PM, Steve Steinitz wrote: Cannot remove an observer for the key path "name" from because it is not registered as an observer. "It" refers to the observer. -removeObserver:forKeyPath: raises this exception if told to remove an object that isn't currently registered

Cannot remove an observer ... because it is not registered as an observer.

2008-05-04 Thread Steve Steinitz
Hello, I now have two projects where I am getting the error below. I've tried some obvious things like adding calls to will|did Access|Change ValueForKey to my custom methods and also ensuring key-value compliance by adding dummy setters. Here is the error. Cannot remove an observer for t