init<RowContent >(Range<Int>, selection: Binding<SelectionValue ?>?, rowContent : (Int) -> RowContent )
Creates a list that computes its views on demand over a constant range, optionally allowing users to select a single row.
Available when
SelectionValue
conforms to Hashable
and Content
conforms to View
.init<RowContent >(Range<Int>, selection: Binding<Set<SelectionValue >>?, rowContent : (Int) -> RowContent )
Creates a list that computes its views on demand over a constant range, optionally allowing users to select multiple rows.
Available when
SelectionValue
conforms to Hashable
and Content
conforms to View
.