• 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: Basic bindings questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic bindings questions


  • Subject: Re: Basic bindings questions
  • From: Steve Weller <email@hidden>
  • Date: Tue, 12 Jul 2005 21:32:23 -0700

At 5:30 PM -0700 7/12/05, mmalcolm crawford wrote:
On Jul 12, 2005, at 12:07 PM, Steve Weller wrote:

2. I added a NSButton to the window and added a method clicked: that doubles the value of sliderValue. I bound the button to the Object controller with selection.clicked and sure enough my clicked method is called and sliderValue is doubled each time I click it. However the text field does not change when the button is clicked. How do I get the text field to update when sliderValue is changed programatically?


<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/Concepts/Troubleshooting.html#//apple_ref/doc/uid/TP40002148-182467>

Very handy, thanks.

I'm probably a good test case for your docs. My background is completely the opposite of this environment: embedded C, drivers, stacks, statically-linked everything, lots of lightweight processes, no OO, reeentrancy, interrupts, small performance and memory budget, etc. So I'm going to make practically every mistake it is possible to make.

--

How much art could an artichoke choke if an artichoke could choke art?
_______________________________________________
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


References: 
 >Basic bindings questions (From: Steve Weller <email@hidden>)
 >Re: Basic bindings questions (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Understanding crashes
  • Next by Date: Trying to bind to NSTreeController
  • Previous by thread: Re: Basic bindings questions
  • Next by thread: [[myObj retain] autorelease]
  • Index(es):
    • Date
    • Thread