---
title: "init(typeIdentifier:rawValue:)"
framework: appintentstesting
role: symbol
role_heading: Initializer
path: "appintentstesting/anyappenum/init(typeidentifier:rawvalue:)"
---

# init(typeIdentifier:rawValue:)

Creates a new instance with the specified enumeration identifier and raw value.

## Declaration

```swift
init(typeIdentifier: String, rawValue: String)
```

## See Also

### Creating an enum

- [init(typeIdentifier:value:)](appintentstesting/anyappenum/init(typeidentifier:value:).md)
- [typeIdentifier](appintentstesting/anyappenum/typeidentifier.md)
- [rawValue](appintentstesting/anyappenum/rawvalue.md)
