---
title: "init(appEntity:)"
framework: corespotlight
role: symbol
role_heading: Initializer
path: "corespotlight/cssearchableitem/init(appentity:)-89ehq"
---

# init(appEntity:)

Initializes a new searchable item with the relevant fields populated from the provided app entity.

## Declaration

```swift
convenience init(appEntity: some IndexedEntity)
```

## Parameters

- `appEntity`: The app entity to use for initialization.

## See Also

### Getting a searchable item

- [init(uniqueIdentifier:domainIdentifier:attributeSet:)](corespotlight/cssearchableitem/init(uniqueidentifier:domainidentifier:attributeset:).md)
- [init(appEntity:)](corespotlight/cssearchableitem/init(appentity:)-3hv5.md)
- [init(appEntity:priority:)](corespotlight/cssearchableitem/init(appentity:priority:)-7h9s.md)
- [init(appEntity:priority:)](corespotlight/cssearchableitem/init(appentity:priority:)-7xlow.md)
- [init(coder:)](corespotlight/cssearchableitem/init(coder:).md)
