init(text:cardElements:allowsMultipleLines:)
Initialize a list image row item with a text string, an array of @c CPListImageRowItemCardElement and a boolean to allow multiple lines in this row.
Declaration
init(text: String?, cardElements elements: [CPListImageRowItemCardElement], allowsMultipleLines: Bool)Parameters
- text:
The text visible at the top of the cell.
- elements:
The list of @c CPListImageRowItemCardElement elements visible below the text.
- allowsMultipleLines:
Determines if the elements could be visible on more than a single line.
Discussion
If a nil @c text property is provided the cell will resize accordingly to hide the title.