title: super init constructor in Swift
body: <p>I used to work with Objective-c using the following code in my class NSObject constructor : </p>
  
  <pre><code>- (id)init {
      self = [super init] ;
      return self;
  }
  </code></pre>
  
  <p>How do I use it in Swift? </p>
  
  <p>I tried to do this:</p>
  
  <pre><code>override init() {
      self = super.init()
      return self;
  }
  </code></pre>
  
  <p>I'm getting two errors:</p>
  
  <pre><code>cannot assign value self is immutable
  nil is the only return value permitted in this initializer  
  </code></pre>