add remove method

This commit is contained in:
Max Sokolov 2016-10-29 01:05:58 +03:00
parent 44cbb8b7d8
commit 9bbd9c4b69
1 changed files with 4 additions and 0 deletions

View File

@ -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")