Apple Foundation Models (iOS 26+)

0•

Integrates Apple's FoundationModels framework for privacy-first, on-device text generation and structured data extraction.

This skill provides specialized implementation patterns for Apple's FoundationModels framework, enabling developers to build sophisticated AI features that run entirely on-device for iOS 26+. It guides you through managing language model sessions, implementing type-safe structured output using the @Generable macro, and defining custom tool calls. By leveraging these patterns, developers can create responsive, offline-capable AI experiences that prioritize user privacy without relying on external cloud services.

Key Features

01Custom tool calling for domain-specific AI logic and actions
020 GitHub stars
03Type-safe structured output generation using @Generable macros
04Comprehensive availability and eligibility checking for Apple Intelligence
05On-device text generation and summarization without cloud latency
06Snapshot-based streaming for real-time SwiftUI updates

Use Cases

01Developing privacy-centric mobile apps with offline AI assistants
02Creating real-time streaming AI interfaces within SwiftUI applications
03Extracting structured objects like calendar events or profiles from natural language