title: How to delete tableview row in section
body: <p>I have a tableview with 2 sections and multiple rows in each. I'm trying to remove a row when a button confirmation is tapped.</p>
  
  <p>Orgininal data looks like this</p>
  
  <pre><code>{
    "section one": [
      {},
      {}
    ],
    "section two": [
      {},
      {},
      {}
    ]
  }
  </code></pre>
  
  <p>I create an array of sections where each one includes an array of objects. Everything displays correctly just can't get the delete.</p>
  
  <p>In my service:</p>
  
  <pre><code>    var items = [Items]()
      var mySections = [MySection]()
  </code></pre>
  
  <p>In my view:</p>
  
  <pre><code>    func numberOfSections(in tableView: UITableView) -&gt; Int {
          return myService.mySections.count
      }
  
      func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
          let mySection = myService.mySections[section]
          return mySection.items.count
      }
  </code></pre>
  
  <p>I've been playing around with this as lots of examples show:</p>
  
  <pre><code>    myService.mySections[indexPath.section].remove(at: indexPath.row)
      let indexPath = IndexPath(item: 0, section: 0)
      followupTable.deleteRows(at: [indexPath], with: .fade)
  </code></pre>
  
  <p>I cannot seem to target it correctly, I can't simply use the .remove because of the nested data. The remove error is Value of type 'MySection' has no member 'remove'</p>