title: Adding Storyboard support in existing project
body: <p>I am using this GitHub project for an application that I am working on (<a href="https://github.com/romaonthego/RESideMenu" rel="nofollow">Github Link  1</a>). Unfortunately, this project doesn't support Storyboards. However, I did find one version with Storyboard support (<a href="https://github.com/zetachang/RESideMenuStoryboardDemo" rel="nofollow">Github Link 2</a>) however, I was unable to get it to work with the suggestions that they made. Here are the results of the suggestions:</p>
  
  <ul>
  <li><strong>Subclass <code>RESideMenu</code> as <code>RootSideMenuViewController</code> do and set the initial scene's custom class as the one you created.</strong></li>
  </ul>
  
  <p>When I tried this:</p>
  
  <blockquote>
  <pre><code>RESideMenuItem *homeItem = [[RESideMenuItem alloc] initWithTitle:@"Home" action:^(RESideMenu *menu, RESideMenuItem *item)
  {
      [menu hide];
  
      UIViewController* vc = [self.storyboard instantiateViewControllerWithIdentifier:@"MainViewController"];
      [menu displayContentController:vc];
  }];
  </code></pre>
  </blockquote>
  
  <p>When I tried it, I received an error saying:</p>
  
  <pre><code>Property 'storyboard' not found on object of type 'AppDelegate *'
  </code></pre>
  
  <ul>
  <li><strong>Use Storyboard Id to instantiate a view controller. (<code>UIStoryboard – instantiateViewControllerWithIdentifier:</code>)</strong></li>
  </ul>
  
  <p>Here is the code when I attempted to try it:</p>
  
  <blockquote>
  <pre><code>RESideMenuItem *homeItem = [[RESideMenuItem alloc] initWithTitle:@"Home" action:^(RESideMenu *menu, RESideMenuItem *item)
       {
           [menu hide];
  
           UIViewController* vc = [UIStoryboard instantiateViewControllerWithIdentifier:@"MainViewController"]; [menu displayContentController:vc];
       }];
  </code></pre>
  </blockquote>
  
  <p>When I tried this, I got an error message, saying:</p>
  
  <pre><code>No known class method for selector 'instantiateViewControllerWithIdentifier:'
  </code></pre>
  
  <p>The last one, I realized that it is already been done.</p>
  
  <p>I have looked around Google to see if I could find anything, and found this:</p>
  
  <pre><code>UIStoryboard [instantiateViewControllerWithIdentifier:@"MainViewController"];
  </code></pre>
  
  <p>This didn't work either.</p>
  
  <p>Sorry for the long post, but I'm not too sure what else I can do to fix this. Are there any other solutions? Did I overlook something? Please ask if I am not being clear on something.</p>
  
  <p>For reference, I'm using Xcode 4.6.3. I am using Storyboards, and I am coding my project using ARC.</p>