Re: UiView as slider with inertia

2018-09-30 Thread Jonathan Hull
What you want is UICollectionView. Make the numbers your cells, and use -targetContentOffset(forProposedContentOffset:, withScrollingVelocity:) to provide the snapping behavior. > On Sep 30, 2018, at 8:46 PM, Eric Dolecki wrote: > > I've been tasked with coming up with a few horizontal slider

UiView as slider with inertia

2018-09-30 Thread Eric Dolecki
I've been tasked with coming up with a few horizontal sliders that are really sequential numbers with the selected value in the middle of the screen. They want drag and release with inertia and also rubber banding on the ends. Values snap into place. 0 1 2 3 4 5 ... Does anyone have something l