---
title: delegate
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avassetresourceloader/delegate
---

# delegate

The delegate object to use when handling resource requests.

## Declaration

```swift
weak var delegate: (any AVAssetResourceLoaderDelegate)? { get }
```

## Discussion

Discussion The delegate object is responsible for indicating whether or not it is able to handle a resource request. And for those requests it does handle, the delegate object must initiate the loading of the requested resource.

## See Also

### Accessing the delegate

- [setDelegate(_:queue:)](avfoundation/avassetresourceloader/setdelegate(_:queue:).md)
- [AVAssetResourceLoaderDelegate](avfoundation/avassetresourceloaderdelegate.md)
- [delegateQueue](avfoundation/avassetresourceloader/delegatequeue.md)
