         
         return [deleteRowAction, editRowAction]
     }
-
 }

            .subscribe(onNext: { [unowned self] in
                self.newState(state: $0)
            }).addDisposableTo(disposeBag)
    }

    func editSelectedCell() {
        editCell(selectedCell)
    }
    
    fileprivate func editCell(_ cell: UITableViewCell?) {

        }
        return cell
    }
}

extension MasterViewController { // UITableViewDelegate
    override func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction]? {
        
        let editRowAction = UITableViewRowAction(style: UITableViewRowActionStyle.normal, title: "Edit", handler:{action, indexpath in
