title: How to scroll to last row of the last section in a UITableView?
body: <p>So I have a UITableView that fetches data from an array of an object say <strong>Chats</strong>. To scroll to the last row of this array I know that we use:</p>
  
  <pre><code>var chats = [Chats]()
  self.tableView.scrollToRow(at: [0, self.chats.count - 1], at: .bottom, animated: true)
  </code></pre>
  
  <p>What if I have an array of array (This is so that I can group chat messages into sections based on date). Now I have sections and then rows under that section. </p>
  
  <pre><code>var groupedChats = [[Chats]]()
  </code></pre>
  
  <p>How do I scroll to the last row of the last section?</p>