add @discardableResult

This commit is contained in:
Max Sokolov 2016-10-29 00:43:08 +03:00
parent 67003df587
commit 48a36e0969
1 changed files with 1 additions and 0 deletions

View File

@ -263,6 +263,7 @@ open class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate {
return self
}
@discardableResult
open func delete(sectionAt index: Int) -> Self {
sections.remove(at: index)