On Oct 15, 2008, at 9:12 PM, Chris Idou wrote:
I'm now calling the super class as described, but it doesn't help.
In the code you originally provided, an object was observing itself
using KVO. Can you reproduce when a different object is the observer?
Also, is canLink actually changing?
*)change
context:(void *)context {
NSLog(@"oVFKP: %@", keyPath);
if (context == bar) {
} else {
[super observeValueForKeyPath:keyPath ofObject:object change:change
context:context];
}
}
--- On Wed, 10/15/08, Jim Correia <[EMAIL PROTECTED]> wrote:
> From: Jim Correia <[EM
On Oct 15, 2008, at 8:46 PM, Chris Idou wrote:
I can't do that because my object inherits from NSObject, and
NSObject doesn't contain an implementation of
observeValueForKeyPath. So that gives a runtime error.
NSObject does have an implementation of -
observeValueForKeyPath:ofObject:change
't working.
--- On Wed, 10/15/08, Ken Thomases <[EMAIL PROTECTED]> wrote:
> From: Ken Thomases <[EMAIL PROTECTED]>
> Subject: Re: tearing my hair out: +(NSSet
> *)keyPathsForValuesAffectingValueForKey:
> To: [EMAIL PROTECTED]
> Cc: cocoa-dev@lists.apple.com
> Date: Wed
On Oct 15, 2008, at 7:16 PM, Chris Idou wrote:
For one of my attributes I can't seem to get
keyPathsForValuesAffecting to do its thing. The following is my
code. I'm observing both keys to try and find out what's going on.
keyPathsForValuesAffectingCanLink does get called.
observeValueFor
For one of my attributes I can't seem to get keyPathsForValuesAffecting to
do its thing. The following is my code. I'm observing both keys to try and find
out what's going on. keyPathsForValuesAffectingCanLink does get called.
observeValueForKeyPath gets called for key noteController.linkableSe