init(sections:content:)
Creates an instance that uniquely identifies and creates views across updates based on the sections of a given view.
Declaration
init<V>(sections view: V, @ViewBuilder content: @escaping (SectionConfiguration) -> Content) where Data == ForEachSectionCollection<Content>, ID == SectionConfiguration.ID, Content : View, V : ViewParameters
- view:
The view to extract the sections of.
- content:
The view builder that creates views from sections