ColorCollectionViewCell
@objc(PESDKColorCollectionViewCell) open class ColorCollectionViewCell: UICollectionViewCell
A ColorCollectionViewCell
is a cell that shows a solid color and an image view on top of that color when the cell
is selected. It also has a selectionIndicator
to show whether or not the cell is currently selected.
-
A view that represents a solid color.
Declaration
Swift
open let colorView = UIView()
-
An image view that is above the solid color and only visible when the cell is selected.
Declaration
Swift
open let imageView = UIImageView()