CarouselItemCellPresentable
public protocol CarouselItemCellPresentable
Represents a type that is presentable through a CarouselItemCell
.
-
The image to set in the
CarouselItemCell
.Declaration
Swift
var image: UIImage? { get }
-
The
URL
of the image to set in theCarouselItemCell
.Declaration
Swift
var imageURL: URL? { get }
-
The title to set in the
CarouselItemCell
.Declaration
Swift
var title: String { get }
-
Configure the
ListItemCell
.Declaration
Swift
func configureListCell(_ cell: CarouselItemCell)
Parameters
cell
The
CarouselItemCell
to configure.