title: Type does not conform to protocol 'AVCaptureFileOutputRecordingDelegate'
body: <p>I am trying to use AVCaptureMovieFileOutput.startRecordingToOutputFileURL to record audio to a file, and the syntax for the function asks for a variable of type "AVCaptureFileOutputRecordingDelegate."  All of the help I've seen from this site says that you need to make a class an extension of AVCaptureFileOutputRecordingDelegate, and NSObject.</p>
  
  <p>Problem is, I always get the error: <strong>Type 'AVRecordDevices' does not conform to protocol 'AVCaptureFileOutputRecordingDelegate'</strong></p>
  
  <p>How do I fix it?</p>
  
  <p><img src="https://i.stack.imgur.com/Pc4eb.png" alt="Class with error"></p>
  
  <p>P.S. I am developing for OS X if that means anything in this situation.</p>