Contents

moveSection(_:beforeSection:)

Moves the section from its current position in the snapshot to the position immediately before the specified section.

Declaration

mutating func moveSection(_ identifier: SectionIdentifierType, beforeSection toIdentifier: SectionIdentifierType)

Parameters

  • identifier:

    The identifier of the section to move in the snapshot.

  • toIdentifier:

    The identifier of the section before which to move the specified section.

See Also

Reordering Items and Sections