title: Keep cell position in UITableView after reload
body: <p>I am refreshing my UITable every couple of minutes, in case there is new data they should be added at the beginning of the table than it reloads. </p>
  
  <pre><code>var j = 0
  let n = store?.news?.count
  while(j &lt; n!){
  self.news?.insert((store?.news?[j])!, at: j)
      j = j + 1
  }
  </code></pre>
  
  <p>No problem in saving the data at first positions.
  The problem is i cannot keep the cell position after each reload it moving up ( the number of records added) , i have tried multiple functions but apparently it's only working in case data where added at the end of the table.</p>
  
  <pre><code>let contentOffset = self.tableV.contentOffset
  self.tableV.reloadData()
  self.tableV.contentOffset = contentOffset
  </code></pre>
  
  <p>Also i tired to save the cell position and add the count of entered data to it but this kind of addition does not work.
  Is there a way to add the number of entered data which is counted , lets say N to the indexPath.row?</p>