<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMAttachmentBearerProtocol",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core Media"
    ],
    "preciseIdentifier" : "s:9CoreMedia26CMAttachmentBearerProtocolP"
  },
  "title" : "CMAttachmentBearerProtocol"
}
-->

# CMAttachmentBearerProtocol

A protocol for objects that can carry attachments.

```
protocol CMAttachmentBearerProtocol
```

## Topics

### Processing Attachments

[`var attachments: CMAttachmentBearerAttachments`](/documentation/CoreMedia/CMAttachmentBearerProtocol/attachments)

All attachments for this object.

[`func propagateAttachments<T>(to: T)`](/documentation/CoreMedia/CMAttachmentBearerProtocol/propagateAttachments(to:))

Copies all propagable attachments from one attachment bearer object to another.

[`struct CMAttachmentBearerAttachments`](/documentation/CoreMedia/CMAttachmentBearerAttachments)

A structure that contains attachments.

## Relationships

### Conforming Types

[`CMBlockBuffer`](/documentation/CoreMedia/CMBlockBuffer)

[`CMSampleBuffer`](/documentation/CoreMedia/CMSampleBuffer)

---

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)