• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView?
      • From: glenn andreas <email@hidden>
References: 
 >Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView? (From: James Montgomerie <email@hidden>)
 >Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView? (From: WT <email@hidden>)
 >Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView? (From: James Montgomerie <email@hidden>)
 >Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView? (From: James Montgomerie <email@hidden>)
 >Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView? (From: WT <email@hidden>)
 >Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView? (From: glenn andreas <email@hidden>)

  • Prev by Date: Re: [Q] using a custom formatter via IB
  • Next by Date: RE: [Q] using a custom formatter via IB
  • Previous by thread: Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView?
  • Next by thread: Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView?
  • Index(es):
    • Date
    • Thread