Components
A control that's an empty box with a shadow.
This control is a UIView with a default appearance and a highlighted appearance.

let shadowCard = ShadowCard()

shadowCard.isHighlighted = true
It’s also possible to provide a custom shadow image.
let shadowCard = ShadowCard(shadowImage: UIImage(named: "funky-shadow"))