Collection

App Intents sample architecture

Source-backed, high-level architecture notes for Apple sample-code pages grouped in the App Intents folder.

  • Catalog module label: App Intents
  • Coverage: 7 / 7 sample pages documented
  • Source policy: archive hashes and extracted-tree references are verified locally before analysis

Samples

Sample Platforms High-level architecture Documented patterns
Accelerating app interactions with App Intents iOS, iPadOS, Mac Catalyst, macOS, visionOS, watchOS A Swift sample with the source-visible chain AppIntentsSampleAppContentViewAccountManagerLocationOptionsProviderAppIntents APIs. Protocol-oriented abstraction
Adopting App Intents to support system experiences iOS, iPadOS, Mac Catalyst, macOS A Swift sample with the source-visible chain AppIntentsTravelTrackingContentViewSharedDataStoreGalleryTimelineProviderAppIntents APIs. Protocol-oriented abstraction, Delegate or data-source callbacks, Central store, Binding-based state propagation, Actor isolation
Defining your app’s Focus filter iOS, iPadOS, Mac Catalyst A Swift sample bundle with entry-bearing project variants ExampleAppIntentsExtension, ExampleChatApp, each leading to AppIntents APIs. Model-View-ViewModel, Repository
Integrating your calendar app with Apple Intelligence iOS, iPadOS, Mac Catalyst A Swift sample with the source-visible chain CometCalAppCalendarListViewCalendarManagerAppIntents / AppIntentsTesting APIs.
Integrating your messaging app with Apple Intelligence iOS, iPadOS, Mac Catalyst, macOS A Swift sample with the source-visible chain UnicornChatAppContactViewContactManagerAppIntents APIs. Delegate or data-source callbacks, Actor isolation
Integrating your music app with Apple Intelligence iOS, iPadOS, Mac Catalyst A Swift sample bundle with entry-bearing project variants CosmoTunes, CosmoTunesWidget, each leading to AppIntents APIs. View-controller organization, Protocol-oriented abstraction, Builder, Actor isolation
Integrating your photo app with Apple Intelligence iOS, iPadOS, Mac Catalyst, macOS A Swift sample with the source-visible chain PhotosDomainExampleContentViewImageManagerExampleAppShortcutsProviderAppIntents APIs. Actor isolation

Cross-sample signals

Recurring documented patterns

Pattern label Sample documents
Actor isolation 4
Protocol-oriented abstraction 3
Delegate or data-source callbacks 2

Type-role naming evidence

Counts below are declaration-name suffixes, not inferred patterns.

Role suffix Distinct declarations across samples
View 84
Manager 21
Model 7
App 6
Provider 4
Engine 2
Controller 2
Renderer 2
Session 2
Tracker 1
Store 1
Repository 1
ViewModel 1
Builder 1

Swift access-control evidence

These are declaration occurrences in scanned Swift source, including implicit internal declarations.

Access level Occurrences
implicit internal 3979
private 648
public 464
private(set) 9
fileprivate 4

References

Generated from the verified local catalog and completed Markdown documents.