title: Swift override init() in class subclassed from Objective-C
body: <p>I have an Objective-C class and here is its <code>init()</code>:</p>
  
  <pre><code>- (id)init
  {
      self = [super initWithNibName:@"xxxViewController" bundle:nil];
      if (self)
      {
  
      }
      return self;
  }
  </code></pre>
  
  <p>I have a Swift class that is a subclass of this.
  How do I override the <code>init</code> of the superclass in the Swift class? I would like to move the <code>initWithNibName</code> into the Swift class.</p>
  
  <p>Here is the <code>init</code> in the Swift class that I have tried:</p>
  
  <pre><code>init() {
      super.init()
  }
  </code></pre>
  
  <p>I get the error:</p>
  
  <blockquote>
    <p>Must call a designated intializer of the super class</p>
  </blockquote>