Re: -observeValueForKeyPath:ofObject:change:context: only,> defined for abstract class.
Re: -observeValueForKeyPath:ofObject:change:context: only,> defined for abstract class.
- Subject: Re: -observeValueForKeyPath:ofObject:change:context: only,> defined for abstract class.
- From: David Burnett <email@hidden>
- Date: Sun, 08 Jan 2006 13:51:12 +0000
email@hidden wrote:
>I have never called super in my KVO methods. All you should need to
>do is make your changes using the observed objects. What are you
>trying to accomplish when the observed objects change?
I was experimenting to see if I could use KVO to drive an undo
mechanism in a non document based application.
The reason I called super was apple example in the documentation
called super. It didn't however say what class the observer inherited
from :-) nor did it say anything about the class at the top end of the
inheritance chain having to do the value setting.
Couple what with the error message referencing FlameController, that
wasn't abstract and implemented -observeValueForKeyPath, I was
on the point of abandoning Binding altogether.
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden