Re: Was: Re: NSStepper - useless?
Re: Was: Re: NSStepper - useless?
- Subject: Re: Was: Re: NSStepper - useless?
- From: Gregory Weston <email@hidden>
- Date: Thu, 23 Feb 2012 17:18:01 -0500
William Squires wrote:
> Why didn't they just make the NSStepper a custom view that draws two arrows, and has two sent actions that you can connect? Or even a variation of NSMatrix with two button cells that look like arrows. That would avoid the problem entirely, and be more intuitive to use.
Um. Because that's not what the control *is*. An NSStepper is a numeric input, for which the interface happens to be a pair of arrows. It's not just a pair of arrows that do whatever you want in response to pressing on each of them. Think of "stepper" in the context of "motor." If it was just two arrows with connectable actions it would be less intuitive and more difficult to use for what it was designed to do. If you want to augment the intended behavior, KVO is probably the way to go. If you want to do something completely different, your should have your own control and it shouldn't look especially like a stepper.
_______________________________________________
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