Re: Value binding not updating on text field

2008-02-28 Thread Jeff Nouwen
Keith Duncan wrote on Thursday, February 28, 2008 8:01 am: > Typically you'd bind the text field to the underlying value, the > same value the slider is bound to. Is there a reason you want to > do it this way? Whoops, yes you're right, I was ignoring a basic tenet of MVC. I had wired it up that

Re: Value binding not updating on text field

2008-02-28 Thread Keith Duncan
The Value of the text field is bound to [...] "slider.floatValue" Typically you'd bind the text field to the underlying value, the same value the slider is bound to. Is there a reason you want to do it this way? I think you'll find that NSProgressIndicator isn't KVO compliant for the float

Value binding not updating on text field

2008-02-28 Thread Jeff Nouwen
Hi all, I have an NSSlider and NSTextField in a window. The Value of the text field is bound to the instance of my controller in the nib with a key path of "slider.floatValue". slider is an instance variable of the controller and the outlets are set correctly (confirmed through NSLog'ing