---
title: enums
framework: appintentstesting
role: symbol
role_heading: Instance Property
path: appintentstesting/intentdefinitions/enums
---

# enums

The definitions for the target app’s app enums.

## Declaration

```swift
var enums: IntentDefinitions.DefinitionCollection<AppEnumDefinition> { get }
```

## Discussion

Discussion Access individual enum definitions using subscript syntax with the enum’s type name as shown in the following example: let definitions = IntentDefinitions(     bundleIdentifier: "com.apple.example" ) let coffeeSizeEnum = definitions.enums[     "CoffeeSizeEnum" ]

## See Also

### Accessing app enums

- [AppEnumDefinition](appintentstesting/appenumdefinition.md)
