Re: Manual binding questions.
Re: Manual binding questions.
- Subject: Re: Manual binding questions.
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 23 Jan 2005 15:31:20 -0800
On Jan 23, 2005, at 1:11 PM, Jiva DeVoe wrote:
[_myView bind:@"sliderVal" toObject:_slider withKeyPath:@"doubleValue"
options:nil];
I get the initial value this is set to when it starts up, but when I
subsequently slide the slider up and down, it does NOT update my view.
What am I doing wrong?
Binding two views to each other. You should bind _myView's value to
the model property.
(For the technical issue: the slider does not post KVO change
notifications. See:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaBindings/Concepts/HowDoBindingsWork.html>
mmalc
_______________________________________________
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