---
title: "init(identifiers:)"
framework: appintents
role: symbol
role_heading: Initializer
path: "appintents/entitycollection/init(identifiers:)"
---

# init(identifiers:)

Creates a new entity identifier collection.

## Declaration

```swift
init(identifiers: [Entity.ID] = [])
```

## Parameters

- `identifiers`: The entity identifiers to add to the collection.
