What is the difference between view and viewcontroller in iphone
<p>I need a detailed explanation on the following: what do we have to use view controllers for?
What is the use of it?</p>

<p>I have a class that looks like this:</p>

<pre><code>class one {
</code></pre>

<p>I create navigation controller</p>

<pre><code>uinavigationcont *nav=...
</code></pre>

<p>class two object created here like </p>

<pre><code>two *secondobject....
</code></pre>

<p>by use of it I have push the new view class two//ok</p>

<pre><code>}
class two{
 ...
}
</code></pre>

<p>Then here how can I use that second object in this class?</p>

<p>What is the class hierarchical start from the window?</p>

<p>Can anyone explain please?</p>
