responding to NSStepper clicks
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