Hi,
I'm writing a piece of software for the iPhone/iPod. I've tested it on the simulator and lately using my first gen. iPod touch. To my surprise the code is a bit sluggish on the iPod device.
My program (using core graphics) draws a large background image, a couple of other images, a large radial gradient fill, uses transparency (alpha), uses a couple of rounded rect clips, a circular clip, draws some individually rotated text around a circle, and rotates the whole thing. The code obviously uses a couple of nested save/restore contexts. The whole thing is dynamic and needs to calculate a lot of thing on the fly.
I have some questions for the more seasoned iPhone programmers:
(1) What kind of performance should I expect from a program like the one that I described. Does it sound as if it sould really fly or does it sound relatively complex for these kind of devices?
(2) What are the speed differences between different iPod/iPhone models?
(3) Are there any known things to avoid when working with core graphics? Any obvious optimizations (image color depths/resolution)?
thanks in advance,
-M