• 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
responding to NSStepper clicks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

responding to NSStepper clicks


  • Subject: responding to NSStepper clicks
  • From: Koen van der Drift <email@hidden>
  • Date: Thu, 15 Dec 2011 08:16:01 -0500

I've set up an NSStepper/NSTextField combination to control myInt in
my model. I have bound the value of myInt to both outlets, and when I
click the stepper, the value of myInt in the textfield changes
accordingly. All good. I've set up the delegate controlTextDidChange,
and my model changes when I change the number in the textfield. But
how do I respond to a change made by clicking on the stepper? There is
no equivalent delegate method, and controlTextDidChange is not called
when the value in the textfield changes by clicking the stepper?

- Koen.
_______________________________________________

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: responding to NSStepper clicks
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: KVO Setting a flag for any property change
  • Next by Date: Re: responding to NSStepper clicks
  • Previous by thread: RE: NSTableView - how to dynamically change the height of the elements? (Nick)
  • Next by thread: Re: responding to NSStepper clicks
  • Index(es):
    • Date
    • Thread