title: Getting this warning: Incompatible pointer types initializing ' *' with an expression with type ' *'
body: <p>I am getting this warning but have no clue what am I doing wrong, it's a simple code to change views with transitions. I didn't use to have this error with Xcode 3.x but now with 4.x the problem began. Although it's just a warning and the code compiles perfectly, I'd like to know what is the problem.</p>
  
  <pre><code>-(IBAction)swapViews:(id)sender{
  DemoViewController *view3 = [[ThirdViewController alloc] initWithNibName:@"ThirdViewController" bundle:nil];
  view3.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
  [self presentModalViewController:view3 animated:YES];}
  </code></pre>
  
  <p>Appreciate all your help</p>