title: UIViewController Object's property not accessible
body: <p>I'm running Mac OS X Lion with xcode-4.2</p>
  
  <p>In my AppDelegate.m in the application:didFinishLaunchingWithOptions method I have the following extract.</p>
  
  <pre><code>UIViewController *viewController1 = [[WSWFirstViewController alloc] initWithNibName:@"WSWFirstViewController" bundle:nil];
  UIViewController *viewController2 = [[WSWSecondViewController alloc] initWithNibName:@"WSWSecondViewController" bundle:nil];
  self.tabBarController = [[TabBarController alloc] init];
  self.tabBarController.viewControllers = [NSArray arrayWithObjects:viewController1, viewController2, nil];
  
  self.window.rootViewController = self.tabBarController;
  
  [self.tabBarController showSplash];
  
  [viewController1 displayItems];
  </code></pre>
  
  <p>What I'm trying to do is access the displayItems property of the viewController1 object which is of the type WSWFirstViewController.</p>
  
  <p>In WSWFirstViewController.h I have</p>
  
  <pre><code>@property (retain, nonatomic) NSMutableArray *displayItems;
  </code></pre>
  
  <p>In WSWFirstViewController.m I have @synthesized displayItems.</p>
  
  <p>I can't seem to figure out why I get a:</p>
  
  <p>Property 'displayItems' not found on object of type 'UIViewController *'.</p>
  
  <p>Until I noticed my object (viewController1) wasn't of the type UIViewController * but WSWFirstViewController *. But still that didn't help me any further.</p>
  
  <p>Any advice is appreciated!</p>