<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentValueContainer",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:21AppIntentsTypeSupport20IntentValueContainerV"
  },
  "title" : "IntentValueContainer"
}
-->

# IntentValueContainer

A container that stores a value that supports intent value conversion.

```
struct IntentValueContainer
```

## Overview

The `IntentValueContainer` structure provides a type-erased wrapper around values that the App Intents framework can use.
It encapsulates the actual value as a container
element and provides mechanisms for type-safe access and conversion.

This container serves as an intermediate representation when converting between
different types.

## Topics

### Structures

[`struct ConversionContext`](/documentation/AppIntents/IntentValueContainer/ConversionContext)

A context that provides additional information for value conversion.

### Operators

[`static func == (IntentValueContainer, IntentValueContainer) -> Bool`](/documentation/AppIntents/IntentValueContainer/==(_:_:))

Returns a Boolean value indicating whether two containers are equal.

### Default Implementations

[IntentValueExpressing Implementations](/documentation/AppIntents/IntentValueContainer/IntentValueExpressing-Implementations)

## Relationships

### Conforms To

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

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

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

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

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

[`IntentValueExpressing`](/documentation/AppIntents/IntentValueExpressing)

---

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)