Standard iOS style objects
Monkey Forums/Monkey Programming/Standard iOS style objects| 
 | ||
| Hi, I've prototyped my app in Monkey, and I'm very pleased so far. One frustration is that I spent far too many hours trying to build spinners with realistic motion (imagine dragging a spinner to select from a drop down list). And even after many hours fine tuning the friction settings, my spinners (scrollers) don't feel as slick and sexy as the Apple ones. So, is there a known formula for adding a realistic to something scrollable? Or are there libraries of such things I can use? At this point I'm even considering writing directly in xcode in the hope that they have built in objects that I can use for a slicker experience. Thanks | 
| 
 | ||
| You really just gotta tweak.  I have a friction variable in my EndlessScroller class, which is applied to a momentum that's carefully controlled and low-end clamped so the scroller doesn't feel sluggish or overly slippery.  The code's part of a framework, but it's mostly modular, if you want a copy and are willing to figure it out for yourself.  Here's a demo to see if you're interested:  http://www.youtube.com/watch?v=FJ7gPRSHMJg As for iOS scrollers, I always found them a little too "sticky" compared to Android's, so my class might feel a little "slippery" to you (that being said, it stops on a dime when you tap!) |