Re: touchesMoved value setting
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uD6ZLhuR90qWyScIqqHIJSx3T4y2ssz5JFszMtjKozs=; b=oq9hCoRyQSqkmaHRuWUSGVahkVv3JZw6v/YqlDt3+/FOIQGPfNKbypcLYWNRbd92QH 2tVk8sX28P29xcwKe9aXcB+XqH2N/MNjk1/ALeELT21cJJ/AK5GOkE2cgZSu6ECacX5l EHFHS0urB++NX8TyuCAeZjkYxFhb50LKsGh9tCty7kxFx716TRuV53AnVxV86ZfIWMRb 2/wzyN2lWfMISsF5N1RxnXmRzz8/MOYd3wUfqiyWiXIexlJM4vKh15392kAeSqL8+dWL Ue+O8b0cBbvXZK8+F7qZm9v2N3PRtnXaPDXF1pE99nvMbrMt4KYNUR0cjEPgMI9Z7FZs Ik/g==
On Sep 18, 2018, at 6:44 AM, Eric E. Dolecki <edolecki@gmail.com> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Richard Charles