Apple On-Device Foundation Models
Integrates Apple's FoundationModels framework into iOS applications to enable privacy-focused, offline-capable generative AI features.
This skill provides specialized patterns and best practices for implementing Apple's on-device FoundationModels framework in iOS 26+ environments. It guides developers through critical implementation details such as model availability checking, structured data extraction using the @Generable macro, and custom tool calling. By leveraging these patterns, developers can create highly responsive, privacy-preserving AI features that function without cloud dependencies, including real-time snapshot streaming for UI updates and complex multi-turn conversational interfaces, all while navigating the 4,096 token context window constraint.