title: App crashes in iPhone simulator when button is pressed. Xcode 3.2.5
body: <p>My app is a tab bar application. There are two tabs at the bottom and an outlet on the first tab with a button that leads to a new window. When I build the code in xcode, it succeeds. When I launch the app in the simulator and click the button leading to the new window, it crashes the app. This is my code for the "FirstViewController" and the "GuitarBrandsViewController"</p>
  
  <p><em><strong>FirstViewController.h-</em></strong></p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  #import "GuitarBrandsViewController.h"
  
  
  @interface FirstViewController : UIViewController {
      FirstViewController *firstViewController;
  
      IBOutlet UIWindow *window;
      IBOutlet UIWindow *GuitarBrands;
  }
  
  @property (nonatomic, retain) IBOutlet UIWindow *window;
  
  -(IBAction)gotoGuitarBrands;
  
  @end
  </code></pre>
  
  <p><em><strong>FirstViewController.m</em></strong></p>
  
  <pre><code>#import "FirstViewController.h"
  
  
  @implementation FirstViewController
  @synthesize window;
  
  -(IBAction)gotoGuitarBrands{
  
      GuitarBrandsViewController *screen = [[GuitarBrandsViewController alloc] initWithNibName:nil bundle:nil];
      screen.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
      [self presentModalViewController:screen animated:YES];
      [screen release];
  }
  </code></pre>
  
  <p><em><strong>GuitarBrandsViewController.h</em></strong></p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  #import "FirstViewController.h"
  
  @interface GuitarBrandsViewController : UIViewController {
      GuitarBrandsViewController *guitarBrandsViewController;
      IBOutlet UIWindow *window;
      IBOutlet UIWindow *Main;
  }
  
  @property (nonatomic, retain) IBOutlet UIWindow *window;
  -(IBAction)gotoMain;
  
  @end
  </code></pre>
  
  <p><em><strong>GuitarBrandsViewController.m</em></strong></p>
  
  <pre><code>#import "GuitarBrandsViewController.h"
  
  @implementation GuitarBrandsViewController
  @synthesize window;
  
  -(IBAction)gotoMain{
  
      FirstViewController *screen = [[FirstViewController alloc] initWithNibName:nil bundle:nil];
      screen.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
      [self presentModalViewController:screen animated:YES];
      [screen release];
  }
  </code></pre>