<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureFileOutput/delegate",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureFileOutput(py)delegate"
  },
  "title" : "delegate"
}
-->

# delegate

The delegate object for the capture file output.

```
unowned(unsafe) var delegate: (any AVCaptureFileOutputDelegate)? { get set }
```

## Discussion

The delegate is an object conforming to the [`AVCaptureFileOutputDelegate`](/documentation/AVFoundation/AVCaptureFileOutputDelegate) protocol that will be able to monitor and control recording along exact sample boundaries.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)