title: Delegates and Memory Leaks in iPhone?
body: <p>I have a tableview(being IBOutlet) and tableviewController in my ViewController </p>
  
  <p>what I do is</p>
  
  <p>//.... allocation for tableviewController
  self.tableview.delegate =  tableviewController;</p>
  
  <p>//now this increases the retain count of tableviewController...</p>
  
  <p>So in deallocation do I need to set the tableview delegate to nil...like</p>
  
  <p>self.tableview.delegate = nil;
  or 
  self.tableview = nil; // is sufficient to make sure that the retain count of tableviewController get decreased by 1.</p>