Demo Library

Minimal, focused Swift demos for every tracked iOS 27 capability.

Medium
Planned

Real-World Metric & Diagnostic Monitor

Demonstrates the new async/await MetricKit API to receive daily metric reports and immediate diagnostic reports at app launch, extracting peak memory and crash backtrace information.

MetricKit Modern Swift API
Medium
Planned

Book Club Reading Schedule — Extra Large Portrait

Shows a multi-day reading schedule widget that adopts the new systemExtraLargePortrait family on iOS 27, rendering additional schedule rows that were hidden in the medium layout.

WidgetKit systemExtraLargePortrait Family
Medium
Planned

Tea Party Agent with Security Guardrails

Builds a Foundation Models agent for the 'Organize a Tea Party' feature, demonstrating lifecycle event modifiers that gate a financial action behind user confirmation and require device authentication before execution.

Agentic Security: Lifecycle Event Modifiers & Action Mitigations
Medium
Planned

Trail Journal LLM Search

Demonstrates attaching SpotlightSearchTool to a LanguageModelSession so users can ask natural-language questions about indexed hiking trails, with results streamed back to a SwiftUI chat interface.

LLM Search Using Core Spotlight (SpotlightSearchTool)
Simple
Planned

Device Hub Inspector + SwiftUI Accessibility Preview

Demonstrates using Xcode 27's Device Hub Inspector approach in code by building a SwiftUI view that adapts to the accessibility settings (Dynamic Type, contrast, color scheme) that Device Hub lets you toggle live during testing.

What's New in Xcode 27
Medium
Planned

Bulk Photo Tagger with EntityCollection

Demonstrates how to use EntityCollection as an intent parameter type to tag thousands of photos by keyword without resolving full entities, showing the before/after performance pattern introduced in iOS 27.

App Intents New Capabilities (iOS 27)
Medium
Planned

UnicornChat Send Message via Siri

Demonstrates how to define an AppEntity conforming to an AppSchema, index it with IndexedEntity, and implement a sendMessage App Intent using the Messages domain schema so Siri can send messages hands-free.

App Schemas for Siri Integration
Medium
Planned

Trip Store Observer

Demonstrates ResultsObserver and the new .codable attribute: a MapCameraController outside SwiftUI that reacts to Trip changes using Swift Observation, plus a Trip model storing an MKMapItem.Identifier via the .codable attribute.

What's New in SwiftData (iOS 27)
Medium
Planned

Swift 6.3/6.4 Language Features Showcase

Demonstrates four key Swift 6.3/6.4 improvements: anyAppleOS availability, @diagnose for warning suppression, module selector disambiguation, and mapKeyedValues on Dictionary.

What's New in Swift 6.3 & 6.4
Medium
Planned

Adaptive Toolbar & Document Writer

Demonstrates the new toolbar visibility APIs and the WritableDocument async snapshot pattern introduced in iOS 27, showing how to keep critical actions visible and write documents efficiently in the background.

What's New in SwiftUI (iOS 27)
Medium
Planned

Book Tag Quality Evaluator

Demonstrates how to build a basic Evaluation that measures whether an AI-powered book-tagging service generates an appropriate number of tags, then asserts a quality threshold using Swift Testing integration.

Evaluations Framework
Medium
Planned

Vocab Card Generator with Custom On-Device LLM

Loads a local Qwen .aimodel file via CoreAILanguageModel, then uses a standard FoundationModels LanguageModelSession with a @Generable struct to generate a Mandarin vocabulary card from an English label — all on-device.

Core AI On-Device Model Integration
Medium
Planned

Snake AI — On-Device Model Inference

Demonstrates loading a custom .aimodel file, preparing an NDArray input, running inference, and reading output logits — the core loop for any Core AI-powered feature.

Core AI Framework
Advanced
Planned

Custom Echo LLM Provider

Implements a minimal custom LanguageModel and LanguageModelExecutor that streams a reversed-echo response, demonstrating the full provider protocol surface area a real model package would implement.

Custom LLM Provider via LanguageModel Protocol
Medium
Planned

Origami Assistant — Baton-Pass Agent

Demonstrates a two-phase DynamicProfile session that switches from a creative brainstorm agent (using PrivateCloudComputeLanguageModel with high temperature) to a focused tutorial agent (using SystemLanguageModel), sharing state via a custom SessionPropertyEntry.

Agentic App Experiences with Dynamic Profiles (Foundation Models)
Medium
Planned

Shopping Cart with Observable Model

Demonstrates an @Observable view model driving a SwiftUI list, including a child view using @Bindable for two-way binding to a cart item.

Observable Macro for SwiftUI Data Models