Contents

init(text:elements:allowsMultipleLines:)

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

Declaration

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

Parameters

  • text:

    The text visible at the top of the cell.

  • elements:

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