Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView?
Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView?
- Subject: Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView?
- From: WT <email@hidden>
- Date: Fri, 3 Apr 2009 17:15:07 +0200
I do have a custom UIView for the grid, but it doesn't do much for
now, since I'm currently using the UIImageView instances to do the
heavy lifting.
You are aware that you can pass an array of UIImages to a UIView and
it will animate them at whatever speed you tell it, right? It's not
perfect (it's hard to sync between multiple views unless you set
them all at once), but handles simple things fine. I've made an
"animated GIF" viewer widget using this and it works quite well...
Yes, I am aware of that. That's how I am doing things right now. I
have 98 UIImageView instances, each associated with an array of up to
9 UIImage objects. I think it's *very* convenient. I set the pulsating
animation on each UIImageView and I don't have to worry about it. My
original question is one of efficiency, given how many UIImageViews I
have as active subviews at any one time.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden