title: Seque order for selection lists
body: <p>I am implementing the following. I have a view controller and I have buttons that open a table view controller with selection items. when I then select an item in a cell and go back to the view controller, previous values are blank (looks like it opens a new instance). The code I am using to go back is as follows:</p>
  
  <pre><code>override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
  
      if segue.identifier == "playerselected" {
  
          let cell = sender as! UITableViewCell
          let indexPath = tableView.indexPath(for: cell)
  
          let itemController : GameViewController = segue.destination as! GameViewController
          let item : Player = frc.object(at: indexPath!) as! Player
  
          itemController.item2 = item
      }
  </code></pre>