Re: Binding values in a preferences window for live updates
Re: Binding values in a preferences window for live updates
- Subject: Re: Binding values in a preferences window for live updates
- From: mmalc crawford <email@hidden>
- Date: Wed, 12 Dec 2007 22:50:50 -0800
On Dec 12, 2007, at 10:35 PM, hinx wrote:
I want to calculate a value based on the values and/or indexes of
NSPopUpButtons (and checkbox states) in a Preferences Window, then
NSTextField-that back into the same window. The value should appear
on
awakeFromNib and refresh upon any change in selection - a recalculate
button would suck.
It's not clear what this means.
To step back, you typically ultimately bind to a model value, you
don't (insofar as I can tell you're trying to do) bind from one view
to another. Decide what model value it is you want to represent, then
bind to that.
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden