Thanks for the project. It doesn't contain momentum or rubber-banding though. Right now I have tapping on the left or right to + or - the value and animates the knob. You can also kind of throw it - I translate velocity to a number of steps to move, and it animates appropriately (with no rubber-banding). I don't have smooth scrolling on a slow uipangesture. Hmm.
On Sun, Jan 22, 2017 at 11:49 PM Graham Cox <graham....@bigpond.com> wrote: > > > On 23 Jan 2017, at 1:27 PM, Eric Dolecki <edole...@gmail.com> wrote: > > > > Hey all, > > Does anyone have a control (knob) that you can turn with a horizontal > swipe, but snaps to detents. > > > I’m attaching a project I made for Mac a while back that does this sort of > thing. > > It’ll need adapting to iOS, but shouldn’t be too hard. Hope you find it > useful. > > —Graham > > _______________________________________________ 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