init<V>(Range<Int>, content: (Int) -> Content)
Creates an instance that computes table rows on demand over a given constant range.
Available when
Data
conforms to RandomAccessCollection
, ID
conforms to Hashable
, and Content
conforms to TableRowContent
.init(Data, content: (Data.Element) -> Content)
Creates an instance that uniquely identifies and creates table rows across updates based on the identity of the underlying data.
Available when
Data
conforms to RandomAccessCollection
, ID
conforms to Hashable
, and Content
conforms to TableRowContent
.