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

dimaggioel

macrumors newbie
Original poster
Oct 13, 2010
9
0
Hi everybody,
I was trying to move some images (around 10-15) around the view. To do this, I created a UIImageView for each image and moved it using this syntax:

Code:
CGPoint c = imageView.center;
c.x += a;
c.y += b;
imageView.center = c;

This worked great until a few days ago, when it started jerking...
Now, actually I don't think it's due to high CPU usage (since a few days ago it worked and I didn't changed anything significant...just added other classes but did not change those existing) but it makes me wonder...is this the best way to move images around? May be a better solution to use openGL?

For what I read around the web, openGL are used especially for 3D graphics, so I doubt what is the better solution for this kind of problems...any suggestions?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.