title: UITabBarController - How to switch to tab of a particular type
body: <p>I have a <code>UITabBarController</code> implemented by a custom class (eg <code>HomeTabBarController</code>) and in my storyboard I've attached to it 3 <code>ViewController</code> as it's child.</p>
  
  <p>I know that I can use, in order to select a particular view controller, in my <code>UITabBarController</code>:</p>
  
  <pre><code>selectedIndex = 2
  </code></pre>
  
  <p>But I would like to make my project a bit more flexible, so I would like to select a child tab only knowing it's <strong>type</strong>, not it's position. How can I do it?</p>