This skill provides specialized implementation patterns for Apple's FoundationModels framework, enabling developers to harness on-device language models in iOS 26 and later. It covers essential workflows including session management, model availability checks, and advanced features like guided generation using the @Generable macro. By focusing on local execution, this skill helps developers build highly responsive, offline-capable, and privacy-first AI features such as real-time text streaming, custom tool calling, and structured data parsing directly within the Apple ecosystem.
Key Features
01Comprehensive model availability and eligibility handling
02Custom tool calling for domain-specific AI logic
030 GitHub stars
04Structured output using @Generable for compile-time safety
05Privacy-focused on-device text generation and summarization
06Snapshot streaming for real-time UI updates