🎯 Objective
Learn how to expose your app's data and functionality to the system-wide Apple Intelligence.
You will move from a "siloed app" mindset to an "agentic provider" mindset.
Daily Breakdown
Day 1
App Entities & Semantic Spotlight
Topic: Making data "discoverable."
Tasks:
- Implement
AppEntity for your core data models.
- Map entities to CSSearchableItem for Spotlight indexing.
- Learn how Apple Intelligence uses these indices to provide context to the LLM.
Day 2
App Intents for AI Actions
Topic: Defining "Verbs" for the Intelligence engine.
Tasks:
- Create
AppIntent structures that allow Siri/Apple Intelligence to perform actions in your app.
- Implement
ParameterSummary to allow for natural language disambiguation (e.g., "Which contact do you mean?").
Day 3
Navigation & Focus Intents
Topic: Deep-linking via Intelligence.
Tasks:
- Implement
OpenIntent to allow the AI to navigate to specific screens based on user query.
- Explore Focus Filter intents to adjust app behavior based on the user's current AI-detected context.
Day 4
The Intelligence Sandbox & Privacy
Topic: Secure Data Exchange.
Tasks:
- Audit data flow: Ensure sensitive
AppEntity properties are marked as private.
- Understand the "Private Cloud Compute" (PCC) handoff—when data leaves the device and how to prevent it.
Day 5
Multi-Intent Orchestration
Topic: Handling complex chains.
Tasks:
- Build an "Action Set" where one intent's output becomes another's input.
- Test how the system handles "Conflicting Intents" from different apps.
🧪
Friday Lab: "The Voice Architect"
Project: Update your "LocalAction" app from Week 1 to be fully voice-controllable via Siri.
- Use App Entities so Siri knows about your app's internal "Projects."
- Create an App Intent that allows a user to "Archive all completed projects" via a system-wide prompt.
- Requirement: The action must show up in the Shortcuts app automatically via your Intent implementation.