One Logo Pool Ball
SwiftUI · IOS API REFERENCE

TableColumnAlignment

struct · iOS 17.0+ · SDK 27.1

struct TableColumnAlignment

Describes the alignment of the content of a table column. The alignment of a column applies to both its header label as well as the default alignment of its content view for each row.

Members (6)

get · iOS 17.0+

center

TypeScript
static get center(): TableColumnAlignment
Swift declaration
static var center: TableColumnAlignment { get }

Center column alignment.

get · iOS 17.0+

leading

TypeScript
static get leading(): TableColumnAlignment
Swift declaration
static var leading: TableColumnAlignment { get }

Leading column alignment. With a `layoutDirection` of `leftToRight`, this is equivalent to left; and with a `layoutDirection` of `rightToLeft`, this is equivalent to right.

get · iOS 17.0+

numeric

TypeScript
static get numeric(): TableColumnAlignment
Swift declaration
static var numeric: TableColumnAlignment { get }

Column alignment appropriate for numeric content. Use this alignment when a table column is primarily displaying numeric content, so that the values are easy to visually scan and compare. This uses the current locale's numbering system to determine the alignment: - For left to right numbering systems, this is equivalent to right. - For right to left numbering systems, this is equivalent to left.

static · iOS 17.0+

numeric

TypeScript
static numeric12974(numberingSystem: _Foundation_Locale_NumberingSystem): TableColumnAlignment
Swift declaration
static func numeric(_ numberingSystem: Locale.NumberingSystem) -> TableColumnAlignment

Column alignment appropriate for numeric content. Use this alignment when a table column is primarily displaying numeric content, so that the values are easy to visually scan and compare. This uses the provided numbering system to determine the alignment: - For left to right numbering systems, this is equivalent to right. - For right to left numbering systems, this is equivalent to left.

get · iOS 17.0+

trailing

TypeScript
static get trailing(): TableColumnAlignment
Swift declaration
static var trailing: TableColumnAlignment { get }

Trailing column alignment. With a `layoutDirection` of `leftToRight`, this is equivalent to right; and with a `layoutDirection` of `rightToLeft`, this is equivalent to left.

get · iOS 17.0+

automatic

TypeScript
static get automatic(): TableColumnAlignment
Swift declaration
static var automatic: TableColumnAlignment { get }

The default column alignment. This is equivalent to `leading`.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →