Claude adds support for Apple’s Foundation Models framework with a new Swift package
Building intelligent apps for Apple platforms with Claude in the Foundation Models framework
AI BriefingAnthropic has introduced a new Swift package that lets Apple developers call Claude directly within the Foundation Models framework. Using Apple’s framework with native Swift, developers can return typed Swift values through guided generation in just three lines of code. When a request involves multi-step reasoning, code generation, web search, or data analysis, Claude can take over and stream the response back to the same view. This support is available on iOS 27, iPadOS 27, macOS 27, visionOS 27, and watchOS 27. Developers need to add the package and configure an Anthropic API key.
Source: Claude: Blog · claude.com