Re: Strange issue with NSPanel @visible keypath observeValueForKeyPath

2011-09-10 Thread vade
Indeed you are correct, I confused the fact that because the binding is available, that KVO would be available on the same key, which is not strictly true or required. I decided to use binding instead, and while that seemed like it should have worked, it did not on 10.6.8, so I just ended up

Strange issue with NSPanel @visible keypath observeValueForKeyPath

2011-09-07 Thread vade
Hello I have an NSWindow, which my app controller is observing the value of @visible keypath, with the following line [previewWindow addObserver:self forKeyPath:@visible options:NSKeyValueObservingOptionNew context:NULL]; Running my app, and triggering an IBAction that calls

Re: Strange issue with NSPanel @visible keypath observeValueForKeyPath

2011-09-07 Thread Chris Hanson
On Sep 7, 2011, at 5:58 PM, vade wrote: I have an NSWindow, which my app controller is observing the value of @visible keypath, with the following line [previewWindow addObserver:self forKeyPath:@visible options:NSKeyValueObservingOptionNew context:NULL]; How did you determine