Fixes editing in RxExample app.
This commit is contained in:
parent
ccd4f29231
commit
cf7dd1714c
|
|
@ -162,6 +162,10 @@ class TableViewWithEditingCommandsViewController: ViewController, UITableViewDel
|
|||
return dataSource.sectionAtIndex(sectionIndex).model
|
||||
}
|
||||
|
||||
dataSource.canEditRowAtIndexPath = { (ds, ip) in
|
||||
return true
|
||||
}
|
||||
|
||||
return dataSource
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue