Steve2345 Steve2345 - 3 months ago
592 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?

TIA

Swift

Swift -accessoryButtonTappedForRowWithIndexPath Sqlite

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

Database record
Name:  Doe
userid: 45