I am using MultivaluedSection
with an option .Reorder
to reorder my cells, for which I need to know the exact order.
I tried with section.allRows
, form.allRows
, form.values()
but seems like they all do not keep the information about order, even though they return an Array
.
Note: I was trying to catch this data in overridden:
func tableView(_ tableView: UITableView, moveRowAt sourceIndexPath: IndexPath, to destinationIndexPath: IndexPath)
Actually I realized that after overriding that method I was "killing" that update, of course.
Still, I don't know how to "catch" when a change happens.