<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVAttachmentRawValue",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "s:9CoreVideo20CVAttachmentRawValueV"
  },
  "title" : "CVAttachmentRawValue"
}
-->

# CVAttachmentRawValue

A lightweight wrapper around raw attachment values.

```
struct CVAttachmentRawValue
```

## Overview

This type encapsulates a raw attachment value and provides dictionary-like access to its content. The
`subscript(key:)-(String)` allows access to internal values in a type safe way.

## Topics

### Initializers

[`init()`](/documentation/CoreVideo/CVAttachmentRawValue/init())

Creates an empty raw attachment value.

[`init(dictionaryLiteral: (String, (any CVAttachmentValueRepresentable)?)...)`](/documentation/CoreVideo/CVAttachmentRawValue/init(dictionaryLiteral:))

Creates raw attachment value from dictionary literal.

### Subscripts

[`subscript<Value>(String, as _: Value.Type) -> Value?`](/documentation/CoreVideo/CVAttachmentRawValue/subscript(_:as:))

Get or set value associated with the specified key.

## Relationships

### Conforms To

[`ExpressibleByDictionaryLiteral`](/documentation/Swift/ExpressibleByDictionaryLiteral)

[`Equatable`](/documentation/Swift/Equatable)

---

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)