How to call a detail view from a table view within a Storyboard
<p>I have following problem. </p>

<p>I have created a tab based Application with three Views and Viewcontroller. 
FirstView(Start screen stuff), SecondView (Detailpage), ThirdView (Table for listing items). 
(Connections from storyboard were set automatically).</p>

<p>In the third view a table is integrated and the content is displayed fine. </p>

<p>Now I would like to call the SecondView , when a row in the table is selected.</p>

<p>I also tried to add a forth View , outside the tabBar Controller, to get the Detailview, but this also did not help.  </p>

<p>I have tried several tutorials and forum tips, but cannot get it working. </p>

<p>The class is set to the right ViewController, the identifier is set to detail. </p>

<pre><code>-(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
DetailViewController *detail = [self.storyboard instantiateViewControllerWithIdentifier:@"detail"];
[self.navigationController pushViewController:detail animated:YES];
detail.label1.text = @"It is working";
</code></pre>

<p>}</p>

<p>When clicking on the row, it becomes blue, but nothing happens. No error Message , nothing. </p>

<p>Hope that you can help :-)</p>

<hr>

<p>OK, I have tried to "optimize" my design. </p>

<p>Still have the tab based Views, but when clicking on a row in the table, a new (not linked in Storyboard) view should appear to display the details of the selected quote. </p>

<ol>
<li>I have created a view in the storyboard and called it "detailzitat"</li>
<li>I have created a DetailViewController.h/m as UIViewcontroller class</li>
<li>I have set the custom class to DetailViewController </li>
<li>I import the DetailViewController.h in the ThirdViewController.h </li>
</ol>

<p>I have modified the didSelectRowAtIndexPath method in ThirdViewController.h accordingly. </p>

<pre><code> -(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
DetailViewController *detailVC = [self.storyboard instantiateViewControllerWithIdentifier:@"detailzitat"];

[self.navigationController pushViewController:detailVC animated:YES];
</code></pre>

<p>}</p>

<p>and my DetailViewController.m looks like </p>

<pre><code>#import "DetailViewController.h"
@implementation DetailViewController
@synthesize label1, labeltext;

- (void)viewDidLoad
{
[super viewDidLoad];
labeltext=@"JUHU";
label1.text=labeltext;
}
</code></pre>

<p>But again, nothing happens, besides the row gets blue. </p>

<p>I do not understand. If I am using this code in a Non-Storyboard project, it is working. 
What am I doing wrong ? Is there any tutorial for this combination within Storyboards ? Have not found one for this approach yet. 
Try to learn from the different tutorials on the web, but the biggest problem is, most ones are not for iOS5 and I am not so good to transfer then. </p>

<p>Hope to get some hints :-) </p>
