init(LocalizedStringKey , value: KeyPath <RowValue , Int32>, content: (RowValue ) -> Content)
Creates a sortable column that generates its label from a localized string key.
Available when
RowValue
inherits NSObject
, RowValue
conforms to Identifiable
, Sort
is SortDescriptor<RowValue>
, Content
conforms to View
, and Label
is Text
.init<S>(S, value: KeyPath <RowValue , Int32>, content: (RowValue ) -> Content)
Creates a sortable column that displays a string property.
Available when
RowValue
inherits NSObject
, RowValue
conforms to Identifiable
, Sort
is SortDescriptor<RowValue>
, Content
conforms to View
, and Label
is Text
.init(LocalizedStringKey , value: KeyPath <RowValue , Int32?>, content: (RowValue ) -> Content)
Creates a sortable column that generates its label from a localized string key.
Available when
RowValue
inherits NSObject
, RowValue
conforms to Identifiable
, Sort
is SortDescriptor<RowValue>
, Content
conforms to View
, and Label
is Text
.init<S>(S, value: KeyPath <RowValue , Int32?>, content: (RowValue ) -> Content)
Creates a sortable column that displays a string property.
Available when
RowValue
inherits NSObject
, RowValue
conforms to Identifiable
, Sort
is SortDescriptor<RowValue>
, Content
conforms to View
, and Label
is Text
.init(LocalizedStringKey , value: KeyPath <RowValue , UInt32>, content: (RowValue ) -> Content)
Creates a sortable column that generates its label from a localized string key.
Available when
RowValue
inherits NSObject
, RowValue
conforms to Identifiable
, Sort
is SortDescriptor<RowValue>
, Content
conforms to View
, and Label
is Text
.init<S>(S, value: KeyPath <RowValue , UInt32>, content: (RowValue ) -> Content)
Creates a sortable column that displays a string property.
Available when
RowValue
inherits NSObject
, RowValue
conforms to Identifiable
, Sort
is SortDescriptor<RowValue>
, Content
conforms to View
, and Label
is Text
.init<S>(S, value: KeyPath <RowValue , UInt32?>, content: (RowValue ) -> Content)
Creates a sortable column that displays a string property.
Available when
RowValue
inherits NSObject
, RowValue
conforms to Identifiable
, Sort
is SortDescriptor<RowValue>
, Content
conforms to View
, and Label
is Text
.