title: Passing objects to tableview controller does not work but view controller works
body: <p>I am new to iOS development and core data fetchresultscontroller. I have a problem passing/segue an object from a tableview to another tableview.</p>
  
  <p>Here is my code below:</p>
  
  <pre><code>   if([[segue identifier]isEqualToString:@"expenses"]){
          ExpensesTableViewController *exp = (ExpensesTableViewController*)[segue destinationViewController];
          NSIndexPath *path = [[self tableView]indexPathForSelectedRow];
          Budget *b = [_fetch objectAtIndexPath:path];
          [exp setCurrentBudget:b];
      }
  </code></pre>
  
  <p>when tap one of the tableview cells, I am expecting an object sent to another segue tableview. However I get this error message: </p>
  
  <pre><code>"Unknown class ExpenseInBudgetTableViewController in Interface Builder file."...
  "[UITableViewController setCurrentBudget:]: unrecognized selector sent to instance 0x8d74a60"...
  "Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewController setCurrentBudget:]: unrecognized selector sent to instance 0x8d74a60'"
  </code></pre>
  
  <p>I have correctly inserted the matching class in the custom class field and.. not sure what else i should check.</p>
  
  <p>Also for some reason, if I pass an object to a normal ViewController, with the same code (but ViewContoller class), the expected outcome is correct.</p>
  
  <p>So, I was wondering if there is a big difference passing objects to a tableview controller and the normal view controller or what am i doing wrong?</p>
  
  <p>Many thanks.</p>