diff --git a/Tablet/TableDirector.swift b/Tablet/TableDirector.swift index f070027..65b9ac3 100644 --- a/Tablet/TableDirector.swift +++ b/Tablet/TableDirector.swift @@ -226,15 +226,7 @@ public extension TableDirector { public func tableView(tableView: UITableView, commitEditingStyle editingStyle: UITableViewCellEditingStyle, forRowAtIndexPath indexPath: NSIndexPath) { if editingStyle == .Delete { - invokeAction(.clickDelete, cell: tableView.cellForRowAtIndexPath(indexPath), indexPath: indexPath) - - let builderInfo = builderAtIndexPath(indexPath) - builderInfo.0.removeItemAtIndex(builderInfo.1) - - tableView.beginUpdates() - tableView.deleteRowsAtIndexPaths([indexPath], withRowAnimation: .Automatic) - tableView.endUpdates() } } } diff --git a/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate b/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate index a18bc63..3d7c5a2 100644 Binary files a/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate and b/TabletDemo/TabletDemo.xcodeproj/project.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate differ