spotlightQuery(_:)
Performs a Spotlight search query for entities of this type.
Declaration
func spotlightQuery(_ userQuery: String? = nil) async throws -> [AnyAppEntity]Parameters
- userQuery:
The search query string. If
nil, returns all indexed entities.
Mentioned in
Return Value
An array of AnyAppEntity instances that match the search criteria.