title: Why subclass doesn't work in framework, but extension does in Swift?
body: <p>I've created a custom framework in Swift 3, with extensions (for String, UIColors, etc.) and subclass of UITableView and UIView.</p>
  
  <p>Problem is that, when I try to use my subclasses in another project, it doesn't work and crash. And extensions's functions work perfectly...
  Subclass doesn't appear in the list of "available classes" in the storyboard. (My class is not in the list of Custom Class, and Module section is empty)</p>
  
  <p>In my framework, my subclasses are public. I also tried with open, and I had the same problem.</p>
  
  <p>Hope it's clear enough and that anyone can help me :)</p>
  
  <p>Edit:
  To reproduce the problem:</p>
  
  <ul>
  <li><p>Create a Custom class that inherits from UIView like that:</p>
  
  <pre><code>public class CustomView: UIView {
      public var name: String = "MyName"
      public func sayMyName() { print("\(self.name)") }
  }
  </code></pre></li>
  <li><p>Create your framework</p></li>
  <li><p>Create a new project, and import your framework.</p></li>
  <li><p>Try to instantiate a CustomView in the storyboard.</p></li>
  </ul>