Contents

moveSection(withIdentifier:afterSectionWithIdentifier:)

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

Declaration

func moveSection(withIdentifier fromSectionIdentifier: Any, afterSectionWithIdentifier toSectionIdentifier: Any)

Parameters

  • fromSectionIdentifier:

    The identifier of the section to move in the snapshot.

  • toSectionIdentifier:

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

See Also

Reordering items and sections