title: MFSideMenu how to load in another ViewController
body: <p>My App is based in a <code>LoginView</code> and <code>SecondView</code>. I will show SecondView after login.</p>
  
  <p>I don't want to make <code>MFSideMenu</code> on <code>LoginView</code>. I would like to use <code>MFSideMenu</code> just in the <code>SecondView</code>. I am trying to do it in my <code>AppDelegate.m</code>:</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
  
       UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:[NSBundle mainBundle]];
  
  
   UIViewController *baseViewApp = [storyboard instantiateViewControllerWithIdentifier:@"MFSideMenuContainerViewController"];
  
   MFSideMenuContainerViewController *container = (MFSideMenuContainerViewController *)baseViewApp.view.window.rootViewController;
  
   //MFSideMenuContainerViewController *container = (MFSideMenuContainerViewController *)self.window.rootViewController;
  
   UINavigationController *navigationController = [storyboard instantiateViewControllerWithIdentifier:@"navigationController"];
  
   UIViewController *leftSideMenuViewController = [storyboard instantiateViewControllerWithIdentifier:@"leftSideMenuViewController"];
   UIViewController *rightSideMenuViewController = [storyboard instantiateViewControllerWithIdentifier:@"rightSideMenuViewController"];
  
  
   [container setLeftMenuViewController:leftSideMenuViewController];
   [container setRightMenuViewController:rightSideMenuViewController];
   [container setCenterViewController:navigationController];
  
  return YES;
  }
  </code></pre>
  
  <p>In the image above I am showing my StoryBoard Properties from my <code>SideMenuContainerView</code> (Where I want to load the <code>MFSideMenu</code>):</p>
  
  <p><a href="http://santoro.co/ios_deve.png" rel="nofollow noreferrer">http://santoro.co/ios_deve.png</a></p>
  
  <p>The <code>MFSideMenu</code> is working when I start Build my app with the initial <code>ViewController</code>. </p>
  
  <p>My <code>SecondView</code> and with this line:</p>
  
  <pre><code>MFSideMenuContainerViewController *container = (MFSideMenuContainerViewController *)self.window.rootViewController;
  </code></pre>
  
  <p>But when I try this:</p>
  
  <pre><code>UIViewController *baseViewApp = [storyboard instantiateViewControllerWithIdentifier:@"MFSideMenuContainerViewController"];
  
   MFSideMenuContainerViewController *container = (MFSideMenuContainerViewController *)baseViewApp.view.window.rootViewController;
  </code></pre>
  
  <p>The <code>MFSideMenu</code> does not work.</p>