Support deleting password
This commit is contained in:
parent
1141e267d9
commit
ee9776ab71
11 changed files with 91 additions and 53 deletions
|
|
@ -192,6 +192,12 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
|
|||
}
|
||||
}
|
||||
|
||||
@IBAction func deletePassword(segue: UIStoryboardSegue) {
|
||||
print("delete")
|
||||
passwordStore.delete(passwordEntity: passwordEntity!)
|
||||
navigationController?.popViewController(animated: true)
|
||||
}
|
||||
|
||||
func setTableData() {
|
||||
self.tableData = Array<TableSection>()
|
||||
tableData.append(TableSection(title: "", item: []))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue