title: TWO StoryBoards, ONE Tab Bar Controller
body: <p>Because we are working on a team, we really need to have multiple story boards in an iOS application project. </p>
  
  <p>I read somewhere that you cannot have multiple story boards if you're using a Tab Bar Controller but I believe I made it work. </p>
  
  <p>My questions are: </p>
  
  <ol>
  <li>Is this a good practice?</li>
  <li>Do you see anything unsave in the code?</li>
  <li>Can you forsee any errors down the road?</li>
  </ol>
  
  <p>I have two story boards, <code>Main.Storyboard</code> and <code>Settings.storyboard</code>. Notice that in MAIN, I embedded the entry point to a new Tab Bar Controller and added two views via Interface Builder. </p>
  
  <p><img src="https://i.stack.imgur.com/IkCm7.png" alt="MAIN.STORYBOARD"></p>
  
  <p>and: </p>
  
  <p><img src="https://i.stack.imgur.com/mMcQ2.png" alt="SETTINGS.STORYBOARD"></p>
  
  <p><strong>Programically</strong>, I want to add a third tab which goes to a <code>UIViewController</code> <strong>in another</strong> story board. I did this with the following code (in viewDidLoad in the Main's ViewController code):</p>
  
  <pre><code>var settingsStoryboard:UIStoryboard = UIStoryboard(name: "Settings", bundle: nil)
  var initialViewController:UIViewController = settingsStoryboard.instantiateViewControllerWithIdentifier("SettingsMain") as UIViewController
  
  var viewsInTBC = self.tabBarController?.viewControllers
  viewsInTBC?.append(initialViewController)
  self.tabBarController?.viewControllers = viewsInTBC
  </code></pre>
  
  <p>Surprisingly, it works! I can actually see that View when I tap on the third item in the view controller (although it doesn't show an icon or text) - which brings me to my last question:</p>
  
  <ol start="4">
  <li>How can I add an icon and a title since I can't seem to figure it out after I add the view to it?</li>
  </ol>