Fixes editing in RxExample app.

This commit is contained in:
Krunoslav Zaher 2016-03-13 15:30:09 +01:00
parent ccd4f29231
commit cf7dd1714c
1 changed files with 4 additions and 0 deletions

View File

@ -162,6 +162,10 @@ class TableViewWithEditingCommandsViewController: ViewController, UITableViewDel
return dataSource.sectionAtIndex(sectionIndex).model
}
dataSource.canEditRowAtIndexPath = { (ds, ip) in
return true
}
return dataSource
}