• 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
Value binding not updating on text field
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Value binding not updating on text field


  • Subject: Value binding not updating on text field
  • From: Jeff Nouwen <email@hidden>
  • Date: Thu, 28 Feb 2008 07:32:13 -0700

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 the values of slider and the text field while tracking the slider knob).

When the window is first loaded, the value of the text field is correctly set to whatever I've set the Current value of the slider to in IB, but the text field never updates either during control tracking or after the mouse button is released. "Continually Updates Value" is enabled on the binding.

I know I'm missing something rudimentary, but can't figure out what.

- Jeff
_______________________________________________

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


  • Follow-Ups:
    • Re: Value binding not updating on text field
      • From: Keith Duncan <email@hidden>
  • Prev by Date: Very strange issue of using IKImageView in a multi-document application
  • Next by Date: Combining NSLineBreakByWordWrapping + NSLineBreakByTruncatingTail in NSTextView
  • Previous by thread: Re: Very strange issue of using IKImageView in a multi-document application
  • Next by thread: Re: Value binding not updating on text field
  • Index(es):
    • Date
    • Thread