Next iOS question - why is my app so slow?

Chris Sheffield cmsheffield at me.com
Fri Feb 17 10:21:54 EST 2012


Without seeing any code, I would advise looking at the acceleratedRendering and layerMode properties if you haven't already. These might make a difference when moving objects. Honestly, though, I'm not sure if they apply to dragging or not. I haven't personally done anything like that. Maybe someone else can chime in...

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

On Feb 17, 2012, at 6:34 AM, Graham Samuel wrote:

> Well, I was fleetingly pleased with myself that I got my first iOS app installed and running on my iPad 2. It didn't last. The thing runs as though wading through glue - MUCH slower than on my Mac (a not particularly new MacBook) and even slower even than on the simulator. The amount of scripting in the app is limited, but you can see it thinking, so that for example I have a bit of code that puts an image in a particular exact place if the user has dragged sufficiently near to the final position (i.e. a snap-to-position process). This is instantaneous on the Mac but takes well over half a second on the iPad. And even recognising a touch before dragging an image appears to take a measurable time. This isn't at all like any of the commercial apps I have.
> 
> I only have a 'personal' licence. Is the engine spiked, or am I doing something wrong, or what? Has anyone any experience to share?
> 
> TIA as ever
> 
> Graham
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list