title: Swift - Delete cell from UITableView
body: <p>I am following this code to remove data from <code>UITableView</code>         </p>
  
  <pre><code>var recordedAudioFilesURLArray = [URL]()
      func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -&gt; Bool {
          return true
      }
  
      func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCellEditingStyle, forRowAt indexPath: IndexPath) {
          if editingStyle == .delete {
              recordedAudioFilesURLArray.remove(at: indexPath.row)
              self.tableView.reloadData()
          }
      }
  </code></pre>
  
  <p>When I swipe left to a particular cell, the cell remove from <code>UITableView</code>. Thats great. But when I close my app and again relaunch my app, deleted cells are appeared.
  <strong>Audio Files are stored in Document Directory.</strong></p>