title: Cannot assign value of type ViewController to type UITabBarControllerDelegate?
body: <p>I have spent a few hours on this one, as I thought first that it was again an issue while migrating to swift2 with AnyObject versus PFObject. But apparently not! Here is the code:</p>
  
  <pre><code>class TimelineViewController: UIViewController, TimelineComponentTarget {
  var timelineComponent: TimelineComponent&lt;Post, TimelineViewController&gt;!
  
  
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
      timelineComponent = TimelineComponent(target: self)
      self.tabBarController?.delegate = self
  }
  </code></pre>
  
  <p>Xcode returns on the 'self' of the last line:</p>
  
  <pre><code>Cannot assign value of type 'TimelineViewController' to type 'UITabBarControllerDelegate?'
  </code></pre>
  
  <p>Any help would be really appreciated, I would love to finally compile my code :)</p>
  
  <p>Thanks!</p>