Page 1 of 1
Drag, Scrollable Stripe?
Posted: Mon Aug 29, 2011 1:46 pm
by cu3e
Hello, anybody know if this is possible with iOS LiveCode?
http://psd.tutsplus.com/tutorials/inter ... -ipad-app/
Please see the video as example what I want to archive
Re: Drag, Scrollable Stripe?
Posted: Mon Aug 29, 2011 11:41 pm
by Mark
Hi,
What do you want? Do you want to make an animation with a hand, like in the video? Maybe you just want to be able to scroll objects? Or did I miss something and do you want something completely different?
Mark
Re: Drag, Scrollable Stripe?
Posted: Tue Aug 30, 2011 2:08 am
by Jellicle
If you mean multiple strips of content that can be dragged left and right, and where all of the strips can be dragged up and down, than yes, you can, but you really really don't want to, as there is no way you can make it smooth in LC on iOS.
Re: Drag, Scrollable Stripe?
Posted: Tue Aug 30, 2011 8:32 am
by cu3e
Thank you. Maybe with animation Engine to make it smooth?
Re: Drag, Scrollable Stripe?
Posted: Tue Aug 30, 2011 9:05 am
by Mark
Hi,
Actually, you can make it perfectly smooth in iOS bcause the UIScrollView is smooth by itself.
Kind regards,
Mark
Re: Drag, Scrollable Stripe?
Posted: Tue Aug 30, 2011 12:13 pm
by Jellicle
Mark wrote:Hi, Actually, you can make it perfectly smooth in iOS bcause the UIScrollView is smooth by itself.
Have you tried doing what the OP needs done? My experience is that things slow down considerably when you have multiple scrollers, and get especially slow when those scrollers contain multiple graphics and groups.
Re: Drag, Scrollable Stripe?
Posted: Tue Aug 30, 2011 12:18 pm
by Mark
Hi,
Yes, I have noticed that those scrollers can slow down. I've made some very good and some bad tests. I've made a scroller for a big photo which works perfectly and a scroller for a tiny text field, which worked very badly until I removed a background picture. I think that the graphics engine of LiveCide for iOS is generally slow, but the scroll views as such work alright.
Kind regards,
Mark
Re: Drag, Scrollable Stripe?
Posted: Wed Aug 31, 2011 12:12 am
by Jellicle
I just tried emulating the functionality shown in the video. I made 5 horizontally scrolling native controls, each containing 8 graphic and text groups. "Perfectly smooth"? Absolutely not. The scrollers barely shuffle across the screen on my 1st gen iPad. It's awful. And when I wrapped all the horizontal scrollers in a vertical scroller I couldn't find a way of making that work at all. I didn't try using html in browser controls - that might trim some of the over head, but I'd be surprised if it provided smooth functionality.
Hopefully a future update to the graphics engine will make things like this possible, but it's not workable right now.