diff --git a/Sources/TableSection.swift b/Sources/TableSection.swift index ddc93e7..d1a3e8a 100644 --- a/Sources/TableSection.swift +++ b/Sources/TableSection.swift @@ -89,6 +89,10 @@ open class TableSection { rows[index] = row } + open func swap(from: Int, to: Int) { + rows.swapAt(from, to) + } + open func delete(rowAt index: Int) { rows.remove(at: index) }