I have a UIView
subclass onto which I need to blit a UIImage
. There are several ways to skin this cat depending on which series of APIs you prefer to use, and I'm interested in the fastest. Would it be UIImage
's drawAtPoint
or drawRect
? Or perhaps the C-based CoreGraphics routines, or something else? I have no qualms about altering my source image data format if it'll make the blitting that much faster.
To describe my situation my app has anywhere from ~10 to ~200 small UIView
s (64x64), a subset of which will need to be redrawn based on user interaction. My current implementation is a call to drawAtPoint
inside my UIView
subclass' drawRect
routine. If you can think of a better way to handle this kind of scenario, I'm all ears (well, eyes).