Performance of image vs custom drawing in UIKit
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 testin开发者_开发技巧g and best practices. Sorry for the multiple questions.
In my experience, using images is always faster than drawing manually.
精彩评论