Protocol¶
DynamicViewContent¶
A type of view that generates views from an underlying collection of data.¶
Declaration¶
protocol DynamicViewContent : View
Availability¶
iOS 13.0+
macOS 10.15+
tvOS 13.0+
watchOS 6.0+
Topics¶
Instance Property¶
data The collection of underlying data.
Instance Method¶
onDelete(perform:) Sets the deletion action for the dynamic view.
onInsert(of:perform:) Sets the insert action for the dynamic view.
onInsert(of:perform:) Sets the insert action for the dynamic view.
onMove(perform:) Sets the move action for the dynamic view.
Associated Type¶
Data The type of the underlying collection of data.