• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Binding values in a preferences window for live updates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Binding values in a preferences window for live updates (From: email@hidden (hinx))

  • Prev by Date: Binding values in a preferences window for live updates
  • Next by Date: NSTableView flickering on resize when in animation layer
  • Previous by thread: Binding values in a preferences window for live updates
  • Next by thread: Re: Binding values in a preferences window for live updates
  • Index(es):
    • Date
    • Thread