title: DrillDown in UitableView using SplitView
body: <p>I am creating a drilldown in UITableView using SplitView Template as done in mail.  From a tutorial I created the code that worked fine for a navigation based template.<br>
  I tried to modify it for a split view template.</p>
  
  <pre><code>    (void)tableView:(UITableView *)TableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
  //Get the dictionary of the selected data source.
          NSDictionary *dictionary = [self.tableDataSource objectAtIndex:indexPath.row];
  //Get the children of the present item.
          NSArray *Children = [dictionary objectForKey:@"Children"];
          if([Children count] == 0) {
          detailViewController.detailItem = [dictionary objectForKey:@"Title"];
          }
          else {
  
                    //Prepare to tableview.
                    RootViewController *rvController = [[RootViewController alloc]initWithNibName:@"RootViewController" bundle:[NSBundle mainBundle]
                    //Increment the Current View
                    rvController.CurrentLevel += 1;
                    //Set the title;
                    rvController.CurrentTitle = [dictionary objectForKey:@"Title"];
                    //Push the new table view on the stack
                   [COLOR="Red"][B] [self.navigationController pushViewController:rvController animated:YES];[/B][/COLOR]
          rvController.tableDataSource = Children;
                    [rvController release];
          }
  }
  </code></pre>
  
  <p>How do I have to change the code? The Line in Red is Crashing the Code. How do I Change my Code </p>
  
  <hr>
  
  <p>I have solved my Query i am attaching the sample application if anybody want to achieve the same thing then my solution will point them at some path here is the link of the </p>
  
  <p>iPhone Application : <a href="http://www.mediafire.com/?nszdqqdht9ceakb" rel="nofollow noreferrer">http://www.mediafire.com/?nszdqqdht9ceakb</a></p>
  
  <p>iPad SplitView Application : <a href="http://www.mediafire.com/?861jggve88o8tp8" rel="nofollow noreferrer">http://www.mediafire.com/?861jggve88o8tp8</a></p>