title: Use PKRevealController (Slide Menu) on existing project
body: <p><strong>Before anything and everything, I know there exists a similar thread by another user, I tried the code answered in that but it didnt worked for me as my VCs and storyboard is a bit different, thus asking same question with my setup and parameters</strong>  </p>
  
  <p>My storyboard and app looks like this, my initial rootViewController as a tabBarController.  </p>
  
  <p><img src="https://i.stack.imgur.com/O9BUq.png" alt="Storyboard">  </p>
  
  <p>I am using this PKRevealController to add a slider left menu bar<br>
  <a href="https://github.com/pkluz/PKRevealController/blob/master/Documentation/USAGE.md" rel="nofollow noreferrer">https://github.com/pkluz/PKRevealController/blob/master/Documentation/USAGE.md</a>  </p>
  
  <p>I added the following code (taken from the answer on similar question I found on SO) to my appDelegate's didFinishLaunchingWithOptions method  </p>
  
  <pre><code>PKRevealController *revealController = (PKRevealController *)self.window.rootViewController;
      UIViewController *leftViewController = [[GDmenuViewController alloc] init];
      UIViewController *frontViewController = [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"tabBarCtrl"];
      [revealController setLeftViewController:leftViewController];
      [revealController setFrontViewController:frontViewController];  
  </code></pre>
  
  <p>GDmenuViewController is the UITableViewController class I made for my UITableView menu to use on left<br>
  tabBarCtrl is the StoryBoardID for the tabBarController I set  </p>
  
  <p>Upon compilation I am getting the following error </p>
  
  <pre><code>2014-03-16 18:18:06.659[3595:70b] -[UITabBarController setLeftViewController:]: unrecognized selector sent to instance 0xcf565a0
  2014-03-16 18:18:06.662[3595:70b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITabBarController setLeftViewController:]: unrecognized selector sent to instance 0xcf565a0'
  </code></pre>
  
  <p>--------Update-------------  </p>
  
  <p>I changed the code in app delegate to the following since my tabBarController was my initialVC  </p>
  
  <pre><code>UITabBarController *tabBarController = (UITabBarController *)self.window.rootViewController;
      GDmenuViewController *leftViewController = [tabBarController.storyboard instantiateViewControllerWithIdentifier:@"leftMenu"];
      PKRevealController *revealController = [PKRevealController revealControllerWithFrontViewController:tabBarController leftViewController:leftViewController];
      self.window.rootViewController = revealController;  
  </code></pre>
  
  <p>Now I am not getting that error but still my menuViewController (TableView) isnt showing up.<br>
  I can run the app and even slide to see that the PKVC is working but instead of my tableView, it just shows up a gray blank View</p>