moveSection(withIdentifier:beforeSectionWithIdentifier:)
Moves the section from its current position in the snapshot to the position immediately before the specified section.
Declaration
func moveSection(withIdentifier fromSectionIdentifier: Any, beforeSectionWithIdentifier toSectionIdentifier: Any)Parameters
- fromSectionIdentifier:
The identifier of the section to move in the snapshot.
- toSectionIdentifier:
The identifier of the section before which to move the specified section.