IconCaptionCollectionViewCell

@objc(PESDKIconCaptionCollectionViewCell) open class IconCaptionCollectionViewCell: UICollectionViewCell

An IconCaptionCollectionViewCell is a cell that shows an icon and a label.

  • An image view at the top of the cell.

    Declaration

    Swift

    open let imageView = UIImageView()
  • A label at the bottom of the cell.

    Declaration

    Swift

    open let captionLabel = UILabel()
  • The tint color to use for the icon when the cell is not selected

    Declaration

    Swift

    open var iconTintColor = UIColor.white
  • The tint color to use for the caption when the cell is not selected

    Declaration

    Swift

    open var captionTintColor = UIColor.white.withAlphaComponent(0.6)