init(LocalizedStringKey , value: KeyPath <RowValue , Int8>, 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(LocalizedStringKey , value: KeyPath <RowValue , Int8?>, 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 , Int8?>, 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 , UInt8>, 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 , UInt8>, 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 , UInt8?>, 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 , UInt8?>, 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
.