-
Quoi de neuf dans Raccourcis
Découvrez des techniques pour créer des raccourcis puissants à partir du contenu de votre app. De nouvelles automatisations offrent des possibilités supplémentaires pour intégrer votre app au système. Optimisez la présentation de votre App Entity auprès des LLM à l'aide de la nouvelle fonctionnalité de transcription « Utiliser le modèle ». Stockez des informations riches de votre app dans des raccourcis synchronisés sur tous vos appareils. Découvrez comment combiner ces fonctionnalités pour créer des automatisations intelligentes et puissantes qui s'intègrent parfaitement au contenu et aux fonctionnalités de votre app.
Chapitres
- 0:01 - Introduction
- 0:57 - Automatisations
- 3:25 - Utiliser un modèle
- 6:58 - Stockage
Ressources
Vidéos connexes
WWDC25
-
Rechercher dans cette vidéo…
-
-
6:12 - Soup Entity Example
// MARK: - Soup Entity import AppIntents struct SoupEntity: AppEntity, Identifiable { static var typeDisplayRepresentation = TypeDisplayRepresentation( name: "Soup", numericFormat: "\(placeholder: .int) soups" ) static var defaultQuery = SoupEntityQuery() var id: Soup.ID @Property var name: String @Property(title: "Available Today") var isAvailableToday: Bool @Property(title: "Ingredients") var ingredients: String var displayRepresentation: DisplayRepresentation { DisplayRepresentation(title: "\(name)", subtitle: SoupStore.description(for: id)) } } -
10:05 - Soup Entity Example
// MARK: - Soup Entity import AppIntents struct SoupEntity: AppEntity, Identifiable { static var typeDisplayRepresentation = TypeDisplayRepresentation( name: "Soup", numericFormat: "\(placeholder: .int) soups" ) static var defaultQuery = SoupEntityQuery() var id: Soup.ID @Property var name: String @Property(title: "Available Today") var isAvailableToday: Bool @Property(title: "Ingredients") var ingredients: String var displayRepresentation: DisplayRepresentation { DisplayRepresentation(title: "\(name)", subtitle: SoupStore.description(for: id)) } }
-