I notice that some of the things that I do with images in my application, I could do with CALayer properties (i.e. borders, shadows, gradients, etc.). Therefore, I wonder, in general, is it better to use CALayers, etc., Or just do it all in Photoshop and use UIImage (View) s for what I need? Scrolling performance was pretty slow with shadows, etc., so I'm basically trying to find any small optimizations I can.
Background information: I just scroll a bunch of images vertically. Just like a photo app. All this is starting at 3.2 years old, so I have access to things like shadow and shouldRasterize in CALayer.
iphone uikit calayer uiimageview
David Liu
source share