title: JASidePanels example-2 using storyboards : crash
body: <p>I am trying to implement the JASidePanels example2 using storyboard.
  <a href="https://github.com/gotosleep/JASidePanels#example-2-storyboards" rel="nofollow noreferrer">https://github.com/gotosleep/JASidePanels#example-2-storyboards</a></p>
  
  <pre><code>-(void)awakeFromNib
  {
    [self setLeftPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"leftViewController"]];
    [self setCenterPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"centerViewController"]];
    [self setLeftPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"rightViewController"]];
  }
  </code></pre>
  
  <p>If I added above code into CenterViewController.m that was as same as MySidePanelController.m in the example2, the app was crashed like below.</p>
  
  <p><img src="https://i.stack.imgur.com/jmTil.png" alt="https://dl.dropboxusercontent.com/u/6655378/stack1.png"></p>
  
  <pre><code>-(void)awakeFromNib
  {
  //  [self setLeftPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"leftViewController"]];
  //  [self setCenterPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"centerViewController"]];
  //  [self setLeftPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"rightViewController"]];
  }
  </code></pre>
  
  <p>If I commented out like above, the app worked like below.
  <img src="https://i.stack.imgur.com/VCzth.png" alt="ttps://dl.dropboxusercontent.com/u/6655378/stack2.png"></p>
  
  <p>I'm new to iOS.
  Could you tell me what is wrong?</p>
  
  <p>My environment.</p>
  
  <ul>
  <li>XCode : Version 4.6.2</li>
  <li>iOS SDK : 6.1</li>
  <li>Simulator : iPhone 6.1</li>
  </ul>