Я пытаюсь сделать навигацию между моим viewController и EditBrainDump.Единственная проблема: как мне выполнить переход с UITableView?
Ошибка :
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7f940c526660> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key inputName.'
Код для действия:
let edit = UITableViewRowAction(style: .normal, title: "Edit") { (action, indexPath) in
// share item at indexPath
let itemId = self.brainList[indexPath.row].id
self.performSegue(withIdentifier: "editbraind", sender: self)
print(itemId)
}
edit.backgroundColor = UIColor.blue
return [delete, edit]
}