insertSections(withIdentifiers:beforeSectionWithIdentifier:)
Inserts the provided sections immediately before the section with the specified identifier in the snapshot.
Declaration
func insertSections(withIdentifiers sectionIdentifiers: [Any], beforeSectionWithIdentifier toSectionIdentifier: Any)Parameters
- sectionIdentifiers:
The array of identifiers corresponding to the sections to add to the snapshot.
- toSectionIdentifier:
The identifier of the section before which to insert the new sections.