title: View controller has no initializers
body: <pre><code>class ViewController3: UIViewController {
  
  let session = AVCaptureSession()
  var camera : AVCaptureDevice?
  var cameraPreviewLayer : AVCaptureVideoPreviewLayer?
  var cameraCaptureOutput : AVCapturePhotoOutput
  </code></pre>
  
  <p>I'm very confused because I used this exact same code in a different camera application but for whatever reason I'm getting an error saying that the viewcontroller has no initializers. How can I fix the bug?</p>