title: Getting a Parse Error Expecting a Type
body: <p>I am using the following code to create a static method to return the DashboardMainMenuViewController. In the interface .h file I get an error saying that expecting type. </p>
  
  <pre><code>+(DashboardMainMenuViewController *) dashboardMainMenuController;
  
  +(DashboardMainMenuViewController *) dashboardMainMenuController
  {
      UISplitViewController *splitViewController = (UISplitViewController *) [[[self appDelegate] window] rootViewController];
  
      NSArray *navigationControllers = [splitViewController viewControllers];
  
      NSArray *viewControllers = [[navigationControllers objectAtIndex:0] viewControllers];
  
      return (DashboardMainMenuViewController *) [viewControllers objectAtIndex:0];
  }
  </code></pre>