From 9bbd9c4b69687c56ee8604572bf210b6ba0b7196 Mon Sep 17 00:00:00 2001 From: Max Sokolov Date: Sat, 29 Oct 2016 01:05:58 +0300 Subject: [PATCH] add remove method --- Sources/TableSection.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/TableSection.swift b/Sources/TableSection.swift index 273701e..bc50522 100644 --- a/Sources/TableSection.swift +++ b/Sources/TableSection.swift @@ -92,6 +92,10 @@ open class TableSection { rows.remove(at: index) } + open func remove(rowAt index: Int) { + rows.remove(at: index) + } + // MARK: - deprecated methods - @available(*, deprecated, message: "Use 'delete(rowAt:)' method instead")