title: Import Swift framework in Swift: "Use of undeclared type 'MyCustomView'"
body: <p>I have a Swift project where I added a framework target with a custom subclass of <code>UIView</code> so I can use the new live view in Interface Builder within Xcode 6. But when I try to add an <code>@IBOutlet</code> in my <code>UIViewController</code> subclass in my project I get a <strong>"Use of undeclared type 'MyCustomView'"</strong> error and I can't build my project.</p>
  
  <p>Here's my code from the UIViewController subclass:</p>
  
  <pre><code>import UIKit
  import MyCustomFramework
  
  
  class MyViewController: UIViewController {
  
      @IBOutlet var myCustomView: MyCustomView?
  
  }
  </code></pre>
  
  <p>And this is what 'MyCustomView.swift' within the 'MyCustomFramework' target looks like:</p>
  
  <pre><code>import UIKit
  
  @IBDesignable class MyCustomView: UIView {
  
      @IBOutlet var imageView: UIImageView?
  
      init(coder aDecoder: NSCoder!) {
          super.init(coder: aDecoder)
      }
  }
  </code></pre>
  
  <p>Anyone know what I forgot? Did I import it in a wrong way? Did I miss something?</p>