Adding my first view to a window based application
<p>I'm beginner with iPhone and want to know how to add a view in a window based application.</p>

<p>I crate the application, then I added the ViewControler+XIB to my project.
I include the .h file in both AppDelegate-Files.</p>

<p>Then I create a object of the View "StartViewController" with</p>

<pre><code>StartViewController *startView;
</code></pre>

<p>and add the property in the AppDelegate.h file:</p>

<pre><code>@property (nonatomic, retain) StartViewController *startView;
</code></pre>

<p>In the AppDelegate.m I add:</p>

<pre><code>@synthessize startViewController
</code></pre>

<p>and in the application method:</p>

<pre><code>[window addSubview:startViewController.view];
</code></pre>

<p>But it doesn't appear when I start the application, what I forgot?</p>
