Gold Challenge: Shadowing

Have the CALayer draw with a shadow. Make sure that, even though the image is translucent, the shadow only appears at the edges of the layer.

Get iOS Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.