6

I have a UITableCell that has a few gradient layers and drop shadows in it. I'm wondering if it would be more performant to handle this with coreanimation layers or just use a a single background image for the cell?

In general is it more performant to use large images (with transparency) over core animation? What's the best way to test the difference? I'm guessing Instruments would be involved. Also I'm looking for a good resource on iOS performance testing and best practices. Sorry for the multiple questions.

Christian Schlensker
  • 21,708
  • 19
  • 73
  • 121
  • possible duplicate of [Images vs. Core Graphics.](http://stackoverflow.com/questions/6520320/images-vs-core-graphics) – Erik B Jul 17 '11 at 23:26

1 Answers1

2

In my experience, using images is always faster than drawing manually.

Erik B
  • 40,889
  • 25
  • 119
  • 135