Components

Shadow Card(iOS)

A control that's an empty box with a shadow.

Summary

This control is a UIView with a default appearance and a highlighted appearance.

Default

let shadowCard = ShadowCard()

Highlighted

shadowCard.isHighlighted = true

It’s also possible to provide a custom shadow image.

let shadowCard = ShadowCard(shadowImage: UIImage(named: "funky-shadow"))