title: Request for member in something not a structure or union
body: <p>I'm trying to do some saving/loading in my AppDelegate, for which I need my enemy and hero sprites. I'm using cocos2d. Here's the method that's getting the warning.</p>
  
  <pre><code>-(void)applicationDidFinishLaunchingWithOptions:(UIApplication *)application {
   NSMutableArray *loadedMoles = [DataBase loadDocs];
   NSMutableArray *loadedBunnies = [DataBase loadDocs];
   UINavigationController *navigationController;
   viewController = (RootViewController *) [navigationController.viewControllers objectAtIndex:0];
   viewController.mole = loadedMoles; //error
   viewController.bunny = loadedBunnies; //error
  }
  </code></pre>
  
  <p>Even though this is the AppDelegate, I've imported both classes, and I'm still getting the errors.</p>