title: swift 2.0 prepareForSegue not working
body: <p>I'm trying to use <code>prepareForSegue</code> in an app I am making. prepare forSegue has to pass a class to a separate view controller. Here is the code in <code>prepareForSegue</code></p>
  
  <pre><code>override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
      if segue.identifier == "createPieceSegue" {
          var svc = segue.destinationViewController as DestinationViewController!
  
          svc.pieceBaseClass = myClass
      }
  }
  </code></pre>
  
  <p>These are the superclasses that the first view controller inherits from:</p>
  
  <pre><code>class ViewController: UIViewController, UIPickerViewDelegate, UIPickerViewDataSource, UITableViewDataSource, UITableViewDelegate, UINavigationBarDelegate
  </code></pre>
  
  <p>And the destination view controller is inheriting from <code>UIViewController</code> only. The error I keep getting is: <code>UIViewController is not convertible to'DestinationViewController'</code> Thus I can't pass data between the two. What does this error mean and how can I fix it?</p>