Contents

insertSections(_:beforeSection:)

Inserts the provided sections immediately before the section with the specified identifier in the snapshot.

Declaration

mutating func insertSections(_ identifiers: [SectionIdentifierType], beforeSection toIdentifier: SectionIdentifierType)

Parameters

  • identifiers:

    The array of identifiers corresponding to the sections to add to the snapshot.

  • toIdentifier:

    The identifier of the section before which to insert the new sections.

See Also

Inserting Items and Sections