Contents

customizationID(_:)

Sets the identifier to be associated with a column when persisting its state with TableColumnCustomization.

Declaration

@MainActor @preconcurrency func customizationID(_ id: String) -> some TableColumnContent<Self.TableRowValue, Self.TableColumnSortComparator>

Parameters

  • id:

    The identifier to associate with a column.

Discussion

This is required to allow user customization of a specific table column, in addition to the table as a whole being provided a binding to a TableColumnCustomization.

The identifier needs to be stable, including across app version updates, since it is used to persist the user customization.

See Also

Configuring the content