title: No visible @interface for 'NavigationViewController' declares the selector 'initWithRootViewController:'
body: <p>My following code everything is in the <code>AppDelegate.m</code> file of my Xcode project.</p>
  
  <pre><code>    #import "AppDelegate.h"
      #import "NavigationViewController.h"
      #import "HubViewController.h"
  
      @implementation AppDelegate
  
      - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
      {
      self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
      self.window.rootViewController = [[NavigationViewController alloc] initWithRootViewController:[[HubViewController alloc] init]];
      self.window.backgroundColor = [UIColor whiteColor];
      [self.window makeKeyAndVisible];
      return YES;
      }
  
      @end
  </code></pre>
  
  <p>I keep getting an error on the <code>'self.window.rootViewController' line stating 'No visible @interface for NavigationViewController' declares the selector 'initWithRootViewController:'</code>. It also states it as an 1ARC Issue1 in the error log. (automatic reference counting issue). Are there any known solutions to this problem that are out there?</p>