[image: Screen Shot 2017-01-18 at 3.28.22 PM.png]

I have been tasked to create a control. A giant knob that is ticked along
its edge (the number dependent on the minimum & maximum values). Not 360
degrees, just enough ticks to show the range. It will do other things as
well, but I'm wondering how to approach this. The values will always be
Int.

I have included a screenshot. The longer dark tick will always show the
current value. I didn't want to paste a lot of code in here, but I tried
UIBezierPaths and my code only produced a black background. Would this be a
ShapeLayer with another sublayer for the ticks? I'll be using
UIGestureRecognizer to control the rotation of the "dial"...

Eric
_______________________________________________

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to