One Logo Pool Ball
SwiftUI · IOS API REFERENCE

TableColumn

struct · iOS 16.0+ · SDK 27.1

nonisolated struct TableColumn<RowValue, Sort, Content, Label> where RowValue : Identifiable, Sort : SortComparator, Content : View, Label : View

A column that displays a view for each row in a table. You create a column with a label, content view, and optional key path. The table calls the content content builder with the value for each row in the table. The column uses a key path to map to a property of each row value, which sortable tables use to reflect the current sort order. The following example creates a sortable column for a table with `Person` rows, displaying each person's given name: TableColumn("Given name", value: \.givenName) { person in Text(person.givenName) } For the common case of `String` properties, you can use the convenience initializer that doesn't require an explicit content closure and displays that string verbatim as a ``Text`` view. This means you can write the previous example as: TableColumn("Given name", value: \.givenName)

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

156 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

TableColumn.init(_:sortUsing:content:)

This declaration needs Swift generic type arguments. (no canonical witness for Sort)

TableColumn.init(_:sortUsing:content:)

This declaration needs Swift generic type arguments. (no canonical witness for Sort)

TableColumn.init(_:sortUsing:content:)

This declaration needs Swift generic type arguments. (no canonical witness for Sort)

TableColumn.init(_:sortUsing:content:)

This declaration needs Swift generic type arguments. (no canonical witness for Sort)

TableColumn.init(_:content:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:content:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:content:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:content:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:content:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:content:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:content:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:content:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:comparator:content:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:comparator:content:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:comparator:content:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:comparator:content:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:comparator:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:comparator:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:comparator:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:comparator:)

This declaration needs Swift generic type arguments. (no canonical witness for RowValue)

TableColumn.init(_:value:content:)

callback cannot propagate synchronous failure

TableColumn.init(_:value:content:)

callback cannot propagate synchronous failure

TableColumn.init(_:value:content:)

callback cannot propagate synchronous failure

TableColumn.init(_:value:content:)

callback cannot propagate synchronous failure

TableColumn.init(_:value:content:)

callback cannot propagate synchronous failure

TableColumn.init(_:value:content:)

callback cannot propagate synchronous failure

All SwiftUI types →