Implement, review, and extend App Intents to expose app functionality to Siri, Shortcuts, Spotlight, widgets, Control Center, and Apple Intelligence.
| Siri / Shortcuts | AppIntent | iOS 16 | | Configurable widget | WidgetConfigurationIntent | iOS 17 | | Control Center | ControlConfigurationIntent | iOS 18 | | Spotlight search | IndexedEntity | iOS 18 | | Apple Intelligence | @AppIntent(schema:) | iOS 18 | | Interactive snippets | SnippetIntent | iOS 26 |
The system instantiates the struct via init(), sets parameters, then calls perform(). Declare a title and parameterSummary for Shortcuts UI.
Siri, 바로가기, Spotlight, 위젯 및 Apple Intelligence에 대한 앱 의도를 구현, 검토 또는 개선합니다. AppIntent 작업 생성, EntityQuery로 AppEntity 모델 정의, AppShortcutsProvider 구문 구축, IndexedEntity로 스포트라이트 인덱싱 추가, Apple Intelligence용 보조 스키마 통합, SiriKit에서 App Intents로 마이그레이션, WidgetConfigurationIntent로 대화형 위젯 구축, 제어 센터 위젯 생성, 시각적 인텔리전스를 위한 SnippetIntent 구현 또는 SetFocusFilterIntent로 포커스 필터 연결 시 사용합니다. 출처: dpearson2699/swift-ios-skills.