Apple FoundationModels On-Device LLM
Integrates Apple’s FoundationModels framework into iOS apps for private, offline large language model capabilities including structured text generation and tool calling.
This skill provides specialized implementation patterns for Apple's FoundationModels framework, enabling developers to build privacy-centric AI features directly within iOS 26+ applications. It covers the full lifecycle of on-device LLM integration, from model availability checks and session management to advanced features like structured output via the @Generable macro and custom tool invocation. By utilizing these patterns, developers can create responsive, offline-capable AI experiences that handle text summarization, data extraction, and domain-specific logic while ensuring user data never leaves the device.