Steve2345 Steve2345 - 1 year ago
778 0

I have the tableview showing the records. I want to edit the record by going to the Edit view controller.
I will have Edit View controller to read sqlite database for more info.

What is the syntax for getting "45" from database to pass it to Edit view controller?



Swift -accessoryButtonTappedForRowWithIndexPath Sqlite

I'm trying to get database values in   
func tableView(tableView: UITableView, accessoryButtonTappedForRowWithIndexPath indexPath: NSIndexPath) {

Database record
Name:  Doe
userid: 45
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download