title: how to convert int to index path in tableview cell?
body: <p>I have to change the height of the last row of the table view.so I am taking my array count value for index path.</p>
  
  <pre><code>var myArray = NSArray()
  
   func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -&gt; CGFloat
      {
  
          if indexPath.row == myArray.count
          {
              return 400
          }
          return 120
      }
  </code></pre>
  
  <p>but height is not changing. Please give me a solution.</p>