title: Swift: 'super.init' isn't called on all paths before returning from initializer?
body: <p>I am getting this error on the last brace of a init in a class of mine. The class looks something like the following (I market the spot where error happens):</p>
  
  <pre><code>class RecordingViewController: UIViewController, AVCaptureFileOutputRecordingDelegate {
  
      let cameraButton:UIButton?
      let camPreview:UIView?
  
      init (cameraButton: UIButton!, camPreview: UIView!) {
          self.cameraButton = cameraButton
          self.camPreview = camPreview
  
      } //get error here
  
      required init?(coder aDecoder: NSCoder) {
          fatalError("init(coder:) has not been implemented")
      }
  
      //do a bunch of other stuff
  }
  </code></pre>
  
  <p>I have looked <a href="https://stackoverflow.com/questions/50578538/super-init-isnt-called-on-all-paths-before-returning-from-initializer">here</a> and <a href="https://stackoverflow.com/questions/38873071/hello-i-want-to-create-constructor-for-my-class-and-i-have-an-error-super-init">here</a> for a solution but both seem like solutions that are either really bad or that are too specific to that question, thus they have not work for me.</p>
  
  <p>I was hoping for a solution to my problem done in such a way that it can help me understand why this error is happening.</p>