title: Swift: How to show child view controllers via storyboard rather than programmatically using XLPagerTabStrip
body: <p>I have been following the XLpagerTabStrip cocoapods extension to set up a tab bar at the top of my view controller (<a href="https://github.com/xmartlabs/XLPagerTabStrip" rel="noreferrer">https://github.com/xmartlabs/XLPagerTabStrip</a>). I am implementing the ButtonBarPagerTabStripViewController and have followed the steps exactly, but the UIScrollView is not displaying the child view controllers.</p>
  
  <p>I think this is because in the example the child view controllers are set up programmatically rather than in the storyboard, whereas mine are currently set up in the storyboard, and hence are displaying no content, yet there is no way that I can see to connect the child view controllers to the ButtonBarController via the storyboard.</p>
  
  <p>Is there a way to display the child view controllers using the storyboard, or must it be done programmatically?</p>
  
  <p>The GitHub page says to implement the following function (But this doesnt seem to work if your child view controllers are set up via the storyboard):</p>
  
  <pre><code>override public func viewControllersForPagerTabStrip(pagerTabStripController: PagerTabStripViewController) -&gt; [UIViewController]
   {
    return [MyChildViewController(), MySecondChildViewController()]
  }
  </code></pre>