use TableView to show password detail
This commit is contained in:
parent
35a9c84b63
commit
8f23f609a7
8 changed files with 156 additions and 60 deletions
|
|
@ -134,7 +134,7 @@ class PasswordsTableViewController: UITableViewController {
|
|||
|
||||
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
|
||||
if segue.identifier == "showPasswordDetail" {
|
||||
if let viewController = segue.destination as? PasswordDetailViewController {
|
||||
if let viewController = segue.destination as? PasswordDetailTableViewController {
|
||||
let selectedIndexPath = self.tableView.indexPath(for: sender as! UITableViewCell)!
|
||||
let index = sections[selectedIndexPath.section].index + selectedIndexPath.row
|
||||
let password: PasswordEntity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue