~/talk

Creating Context-Aware Apps with iOS App Intents

Talkat iOS Conf SG 2025 · 2025-01-15..01-17· [ios]
slides:none on file

App Intents exposes app actions to Shortcuts, Spotlight, widgets and Apple Intelligence by defining AppIntent types with a perform method that returns an IntentResult, creating compact AppEntity/IndexedEntity views of expensive models, and calling CSSearchableIndex when creating items so they immediately appear in Spotlight. Example actions: getCaloriesBurned returns a dialog, createLogEntry uses openAppWhenRun to deep‑link into the app, and adding assistantIntent/assistantEntity macros makes entities available to Apple Intelligence and VoiceOver.

AI-written summary · about

  1. 0:00Context-aware apps intro
  2. 1:49App Intents overview
  3. 3:55App Intents building blocks
  4. 5:41Code: Create App Intent
  5. 8:30Open app via shortcut
  6. 9:34Pass data via intents
  7. 10:37Index entities for Spotlight
  8. 13:52Entities for Apple Intelligence
  9. 15:17Example: Event intent with indexing
  10. 17:24App Intents benefits
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.