---
title: UnionValue()
framework: appintents
role: symbol
role_heading: Macro
path: appintents/unionvalue()
---

# UnionValue()

## Declaration

```swift
@attached(extension, conformances: _IntentValueRepresentable, AppUnionValue, names: arbitrary) macro UnionValue()
```

## Mentioned in

Adding parameters to an app intent Defining app entities for your custom data types

## See Also

### App entity types

- [AppEntity](appintents/appentity.md)
- [FileEntity](appintents/fileentity.md)
- [IndexedEntity](appintents/indexedentity.md)
- [SyncableEntity](appintents/syncableentity.md)
- [TransientAppEntity](appintents/transientappentity.md)
- [UniqueAppEntity](appintents/uniqueappentity.md)
- [OwnershipProvidingEntity](appintents/ownershipprovidingentity.md)
- [AppUnionValue](appintents/appunionvalue.md)
- [AppUnionValueCasesProviding](appintents/appunionvaluecasesproviding.md)
