Apple On-Device Foundation Models
Integrates Apple's on-device FoundationModels framework for privacy-preserving, offline LLM capabilities in iOS applications.
This skill provides standardized patterns and best practices for leveraging Apple's native on-device language models within the FoundationModels framework. It streamlines the implementation of complex AI features like structured data extraction using the @Generable macro, custom tool calling for domain-specific actions, and real-time snapshot streaming for responsive UIs. By following these patterns, developers can build powerful AI-driven experiences that prioritize user privacy, work entirely offline, and adhere to Apple's specific implementation constraints, such as the 4,096-token context window and model availability checks.