title: How to edit the content of a Table Cell in Swift 3
body: <p>I am a beginner at Swift 3. I have a Table View, and the user can delete a table view cell. Now I want the user to be able to change the content of the cell. I have an array that contains four names ["Stremmel", "Emma", "Sam", "Daisy"] and I want the user to be able to say edit Stremmel to George.<br>
   I searched for documentation or a similar question that could help me to figure a way to do so, but I got more confused. Can someone please provide me with some help!! Thank you. Here is my table view: </p>
  
  <pre><code>import UIKit
  var list = ["Stremmel" , "Emma" , "Sam" , "Daisy"]
  class ViewController: UITableViewController {
  
  override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int
  {
     return list.count
  }
  override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell 
  {
      let cell = tableView.dequeueReusableCell(withIdentifier: "Cell", for: indexPath)
      cell.textLabel?.text = list[indexPath.row]
      return cell
  }
  override func tableView(_ tableView: UITableView, commit editingStyle:  UITableViewCellEditingStyle, forRowAt indexPath: IndexPath) {
  
  if editingStyle == UITableViewCellEditingStyle.delete
  {
       list.remove(at: indexPath.row)
       tableView.reloadData()
  }
  
  
  }
  </code></pre>