Render card components for iOS with shadows and rounded corners.
Render rounded corners and shadows with a single UIView.
Also need to clip content inside a card?
Use a composite card view to render unclipped shadows in a container card view, and render rounded corners in a content view that clips inner content.
Only need to render the top, bottom, or side edges of a card?
Use a partial card view with drawing modes to render top, center, bottom, or all effects.
Similar to PartialCardView, instead of rendering effects dynamically with CALayer, the effects can be rendered into a static, resizable UIImage. This can speed up rendering, and affords the flexibility of rendering cards into a UIImageView.
Render grouped UITableView sections using PartialCardImage under the hood to draw cell background views.





