title: Is it Possible to have two view Controller's IBOutlet in one .h file? How to move to previous to previous view?
body: <p>I am using XCode 4.</p>
  
  <p>In My applicaion
  I have Files</p>
  
  <ul>
  <li>WelcomeViewController</li>
  <li>FirstViewController</li>
  <li>SecondViewController</li>
  <li>ThirdViewController</li>
  </ul>
  
  <p>In every view I have same functionality.</p>
  
  <p>Pressing the Button and Load another view By presentModelViewController..</p>
  
  <p>Problem I am Facing is I can not Declare Two outlets in One header file As If I want to move to the Back Page.?</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  #import "ThirdViewController.h"
  
  #import "FirstViewController.h"
  
  @interface SecondViewController : UIViewController {
      UIButton *button1;
  }
  
  @property (nonatomic,retain) IBOutlet ThirdViewController *thirdVC;
  @property (nonatomic,retain)  IBOutlet FirstViewController *firstVC;
  //Error at this line above 
  @property (nonatomic,retain) IBOutlet UIButton *button1;
  
  @end
  </code></pre>
  
  <p>Is it a good practice to alloc and init the new controller or I just have to take a view controller in XIB file and then just create Outleyts???
  Yes you are right definbately, I have tried it is working...but why I am taking View Controller because I just can jump to previous to previous view ? What is wrong If I take an IBOutlet.???</p>
  
  <p>So, What if I want to move previous to previous view I need to write 
  two times 
  [self dismisviewContrlloer animated:YES];</p>
  
  <p>[self dismisviewContrlloer animated:YES];
  ????</p>