title: Missing argument for parameter 'coder' in call in Swift
body: <pre><code>class SecondViewController:UIViewController {
    required init(coder aDecoder: NSCoder){
      super.init(coder: aDecoder)
      //Custom logic here
    }
  }
  </code></pre>
  
  <p>Quite a newbie question: </p>
  
  <p>a view controller(SecondViewController), inherent from UIViewController needs a designated init function like above. </p>
  
  <p>In this case, how should I call it, given I am not sure what the value for "coder" should be? I used to call the controller as: SecondViewController(), but it gives:</p>
  
  <pre><code>Missing argument for parameter 'coder' in call
  </code></pre>
  
  <p>I understand coder parameter has to be provided, but want to ask what its value comes from.</p>