Contents

init(text:gridElements:allowsMultipleLines:)

Initialize a list image row item with a text string, an array of @c CPListImageRowItemGridElement and a boolean to allow multiple lines in this row.

Declaration

init(text: String?, gridElements elements: [CPListImageRowItemGridElement], allowsMultipleLines: Bool)

Parameters

  • text:

    The text visible at the top of the cell.

  • elements:

    The list of @c CPListImageRowItemGridElement 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.