One Logo Pool Ball
AppIntents · IOS API REFERENCE

EnumerableEntityQuery

protocol · iOS 17.0+ · SDK 27.1

protocol EnumerableEntityQuery : EntityQuery

An interface you use to provide a short list of entities that are relatively small in size. By implementing an `EnumerableEntityQuery`, you enable the Shortcuts app to generate a Find action and do filtering automatically. Use it in cases where the count of entities is relatively small, and their size in memory is limited. For situations where there may be many thousands of entities, or where individual entities may become large in memory usage, use ``EntityPropertyQuery`` to allow better performance by fetching only the entities matching the criteria from your model.

Members (1)

method · iOS 17.0+

suggestedEntities

Swift declaration
@backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
func suggestedEntities() async throws -> Self.Result

Returns the initial results to display when the system presents options backed by this query.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

EnumerableEntityQuery.findIntentDescription

Static protocol requirements cannot be called through an instance.

All AppIntents types →