Hi Eric,

When creating similar controls in the past (I am actually making an odometer 
style view right now), I have found that collection views work really well. 
There is a delegate call (something like proposedOffset:forTargetOffset:) which 
gives you the sticky behavior you desire...

Thanks,
Jon

Sent from my iPhone

> On Dec 2, 2015, at 4:22 PM, Eric Dolecki <[email protected]> wrote:
> 
> I need to create a time picker control but don't have much vertical room. So 
> buttons above and below to affect hours, min, am/pm are out. I was thinking 
> swipes up and down. Best to use 3 UIScrollviews? Inertia is there. Only thing 
> is how to get the numbers to "stick" in selection position while still 
> allowing for smooth scrolling with quick flicking. Technique for that?
> Is this a good solution? Anything I might consider?
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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/jhull%40gbis.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to