One Logo Pool Ball
AppIntents · IOS API REFERENCE

UniqueAppEntityQuery

protocol · iOS 18.0+ · SDK 27.1

protocol UniqueAppEntityQuery : EnumerableEntityQuery where Self.Entity : UniqueAppEntity

A query designed for only returning a single possible value, provided by `uniqueEntity`. Protocol extensions will provide the other required query methods based on that.

Members (2)

method · iOS 18.0+

allEntities

Swift declaration
func allEntities() async throws -> [Self.Unique]
method · iOS 18.0+

suggestedEntities

Swift declaration
func suggestedEntities() async throws -> [Self.Unique]

Skipped declarations

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

UniqueAppEntityQuery.entities(for:)

The iOS SDK compiler rejected this binding: cannot access associated type 'Unique' from 'UniqueAppEntityQuery'; use a concrete type or generic parameter base instead

All AppIntents types →