Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Fabio P.

macrumors newbie
Original poster
Oct 16, 2008
2
0
We are developing an application that presents an animation of 100 frames. The animation is a loop and the frames react to the user touch. Moreover, to maintain responsiveness we have to load all the images in the memory.

We tried to develop the application using and array of UIImage and resetting them to a view but the memory footprint was too big 42MB. Therefore, we tried to use Quartz, and we solved the memory problems (now its 12MB) but the cpu load often peeks a 100%. We though that quartz should have been faster than the UI class.

As we are total newbies to cocoa it would be terrific if somebody could give to us some insights in the topic!

Thanks :apple:
 

Fabio P.

macrumors newbie
Original poster
Oct 16, 2008
2
0
Yes we used UIImageView but not Core Animation because we need to resize the frames at variable speed. We are simulating a rotation, therefore we stretch the frames a bit and then load the next one.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.