Re: touchesMoved value setting
Re: touchesMoved value setting
- Subject: Re: touchesMoved value setting
- From: Richard Charles <email@hidden>
- Date: Tue, 18 Sep 2018 07:03:00 -0600
> On Sep 18, 2018, at 6:44 AM, Eric E. Dolecki <email@hidden> wrote:
>
> I have a UI control that can be adjusted up and down using touch & drag.
> I've been asked to provide a control value based on how far the drag is via
> distance. So far so good.
>
> What my designer wants is a value change of every 20 pixels or so (control
> is 150px tall @ the moment) - so every 20 pixels = a change of 1.
I think you mean points not pixels.
Not familiar with UI controls but this sounds very similiar to NSSlider.
– maxValue
– minValue
– setMaxValue:
– setMinValue:
> This will require multiple touch and drags but he's fine with it.
This does not sound right. I think something is wrong.
--Richard Charles
_______________________________________________
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