title: UIViewTableCell didSelectRowAtIndexPath is calling but not pushing a view controller
body: <p>so im having a UIViewController view with a UITableView.
  So the UIViewController class name is SelectionScreen.
  The UITableView class name is SelectionScreenTable.</p>
  
  <p>Picture:
  <a href="http://img717.imageshack.us/i/screenshot20100609atpm0.png/" rel="nofollow noreferrer">http://img717.imageshack.us/i/screenshot20100609atpm0.png/</a></p>
  
  <p>I have declared a UITableView *selectionTable in SelectionScreen class and connected it to the xib file of the SelectionScreen </p>
  
  <p>what the problem is , is that when i click a row in the table,it stays selected as highlighted blue, it calls the didSelectRowAtIndexPath (checked with NSLog) but not pushing a new view which is called(GraphView).</p>
  
  <p>This is the code which i use to call the new controller WHICH WORKS with a normal button </p>
  
  <pre><code>GraphView *aSelectionScreenViewController = [[GraphView alloc]
           initWithNibName:@"GraphView"
           bundle:nil];
  </code></pre>
  
  <p>[self presentModalViewController:aSelectionScreenViewController animated: YES];
   [aSelectionScreenViewController release];</p>
  
  <p>I searched around and found that I need to set a delegate for the table in the UITableView class itself on the viewload</p>
  
  <pre><code>tableview.delegate = self;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>self.tableview.delegate = self;
  </code></pre>
  
  <p>But it was not working. the controller was still not being pushed, and yes i have checked the controller is not nil as i tried it with a simple button.</p>
  
  <p>So i was thinking whether i should set the delegate of the UITableView at the UIViewController instead, so i tried this code</p>
  
  <pre><code>selectionTable.delegate = selectionTable.self;
  </code></pre>
  
  <p>but obviously it did not work =\, it messed up the whole UITableView and caused all the cells to be its predefined settings.</p>
  
  <p>So does anybody have any idea on how i can get it to work.</p>