title: mixing objective-c and swift when subclassing
body: <p>I've got a subclass of UIViewController written in Swift called 'BaseViewController'. I now have an 'old' view controller called 'ViewController1' written in Objective-C that I want to inherit from 'BaseViewController'. Following other advice I have imported the 'Project-Swift.h' header file.</p>
  
  <p>My problem occurs when subclassing like this</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  #import "MyProject-Swift.h"
  
  @interface ViewController1 : BaseViewController
  @end
  </code></pre>
  
  <p>The error is:</p>
  
  <p>Cannot subclass a class with objc_subclassing-restricted attribute</p>
  
  <p>and it appears on the @interface ... line.</p>