Contents

moveSection(_:afterSection:)

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

Declaration

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

Parameters

  • identifier:

    The identifier of the section to move in the snapshot.

  • toIdentifier:

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

See Also

Reordering Items and Sections