insertSections(_:afterSection:)
Inserts the provided sections immediately after the section with the specified identifier in the snapshot.
Declaration
mutating func insertSections(_ identifiers: [SectionIdentifierType], afterSection toIdentifier: SectionIdentifierType)Parameters
- identifiers:
The array of identifiers corresponding to the sections to add to the snapshot.
- toIdentifier:
The identifier of the section after which to insert the new sections.