Intents sample architecture
Source-backed, high-level architecture notes for Apple sample-code pages grouped in the Intents folder.
- Catalog module label:
Intents - Coverage: 9 / 9 sample pages documented
- Source policy: archive hashes and extracted-tree references are verified locally before analysis
Samples
| Sample | Platforms | High-level architecture | Documented patterns |
|---|---|---|---|
| Adding Shortcuts for Wind Down | iOS, iPadOS, Mac Catalyst | A C/Objective-C header, Swift sample with the source-visible chain AppDelegate → LibraryTableViewController → AudioPlaybackManager → IntentHandler → Intents APIs. |
View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks |
| Booking Rides with SiriKit | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain AppDelegate → IntentViewController → GetRideStatusHandler → Intents / IntentsUI APIs. |
View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks |
| Handling Payment Requests with SiriKit | iOS, iPadOS, Mac Catalyst | A C/Objective-C header, Swift sample with the source-visible chain AppDelegate → PaymentHistoryViewController → PaymentProvider → Intents APIs. |
View-controller organization, Delegate or data-source callbacks |
| Handling Workout Requests with SiriKit | iOS, iPadOS, Mac Catalyst | A C/Objective-C header, Swift sample with the source-visible chain AppDelegate → WorkoutsController → CancelWorkoutIntentHandler → Intents APIs. |
View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks |
| Integrating Your App with Siri Event Suggestions | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain AppDelegate → ReservationContainersTableViewController → Intents APIs. |
View-controller organization, Delegate or data-source callbacks |
| Managing Audio with SiriKit | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain AppDelegate → AppleMusicAPIController → IntentHandler → Intents APIs. |
View-controller organization, Delegate or data-source callbacks |
| Providing Hands-Free App Control with Intents | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain AppDelegate → RecipeDetailViewController → AppIntentHandler → Intents / IntentsUI APIs. |
View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks |
| Soup Chef with App Intents: Migrating custom intents | iOS, iPadOS, Mac Catalyst | A C/Objective-C header, Swift sample with the source-visible chain AppDelegate → ConfigureMenuTableViewController → DataManager → CLPlacemarkOptionsProvider → Intents / AppIntents APIs. |
View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks |
| Soup Chef: Accelerating App Interactions with Shortcuts | iOS, iPadOS, Mac Catalyst, watchOS | A C/Objective-C header, Swift sample with the source-visible chain AppDelegate → ConfigureMenuTableViewController → DataManager → IntentHandler → Intents APIs. |
View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks |
Cross-sample signals
Recurring documented patterns
| Pattern label | Sample documents |
|---|---|
| View-controller organization | 9 |
| Delegate or data-source callbacks | 9 |
| Protocol-oriented abstraction | 6 |
Type-role naming evidence
Counts below are declaration-name suffixes, not inferred patterns.
| Role suffix | Distinct declarations across samples |
|---|---|
Controller |
32 |
Handler |
21 |
Delegate |
14 |
Manager |
8 |
View |
7 |
Provider |
3 |
Swift access-control evidence
These are declaration occurrences in scanned Swift source, including implicit internal declarations.
| Access level | Occurrences |
|---|---|
implicit internal |
1358 |
public |
276 |
private |
223 |
fileprivate |
15 |
open |
1 |
References
Generated from the verified local catalog and completed Markdown documents.