title: Make cells appear and disappear in TableView
body: <p>I making an app with a table view and a data source (core data). In this table i group several tasks ordered by date, and i have this segmented control. 
  I want the table to only load the tasks later or equal than today's date, when the user taps the second segment i want to show all tasks, if he taps the first segment the table must only show the later dates tasks again.</p>
  
  <p>The problem is:</p>
  
  <p>1 - I'm using fetchedResultsController associate with a indexPath to get the managed object.</p>
  
  <p>2 - I use the insertRowsAtIndexPaths:withRowAnimation: and deleteRowsAtIndexPaths:withRowAnimation: methods to make the cells appear and disappear. And this mess with my indexPaths, if i want to go to the detail view of an specific row it is associate with a different indexPath, after delete the rows.</p>
  
  <p>This problem was fixed by a method i did, but i still have other problems of indexPaths and cells, and it seems to me that is gone be me messy to each problem a fix.</p>
  
  <p>There is a simple way to do that?</p>
  
  <p>I tried just to hide the cells instead of delete, it works just fine, but in the place of the hidden cells was a blank space, if there is a way to hide these cells and make the non-hidden cells occupy the blank space i think that will be the simplest way.</p>
  
  <p>Anyone can help me?</p>