Open tillkruss opened 4 months ago
@AssistantIntent(schema: .system.search)
SiriTipView(intent: OpenFavorites(), isVisible: $displaySiriTip)
NSAppIconActionTintColorName
NSAppIconCompletingColorNames
OpenIntent
https://developer.apple.com/documentation/appintents/integrating-your-app-with-siri-and-apple-intelligence
extension Movie: AppEntity { static let defaultQuery = MovieEntityQuery() static var typeDisplayRepresentation = TypeDisplayRepresentation(name: "Movie") var displayRepresentation: DisplayRepresentation { DisplayRepresentation(title: "\(title) (\(year))") } } @available(iOS 18.0, *) extension Movie: IndexedEntity { } struct MovieEntityQuery: EntityQuery { func entities(for identifiers: [Movie.ID]) async throws -> [Movie] { return [] // return trailManager.trails(with: identifiers).map { TrailEntity(trail: $0) } } }
@AssistantIntent(schema: .system.search)
Use
NSAppIconActionTintColorName
andNSAppIconCompletingColorNames
Consider using
OpenIntent
for some?https://developer.apple.com/documentation/appintents/integrating-your-app-with-siri-and-apple-intelligence
Search