跳到主内容
@wquguru
精选75Claude 博客(web_list)产品发布/更新

Claude 支持 Apple Foundation Models 框架

Building intelligent apps for Apple platforms with Claude in the Foundation Models frameworkJune 8, 2026

原文
发到 X

Building intelligent apps for Apple platforms with Claude in the Foundation Models framework

在Foundation Models框架中为Apple平台构建智能应用,使用Claude

  • Category
  • Product announcements
  • Product
  • Claude Platform
  • Claude apps
  • Date
  • June 8, 2026
  • Reading time
  • 5
  • min
  • Share
  • Copy link
  • https://claude.com/blog/claude-for-foundation-models
  • 类别
  • 产品公告
  • 产品
  • Claude平台
  • Claude应用
  • 日期
  • 2026年6月8日
  • 阅读时间
  • 5
  • 分钟
  • 分享
  • 复制链接
  • https://claude.com/blog/claude-for-foundation-models

Today we're releasing Foundation Models framework support for Claude through a new Swift package that lets Apple developers use Apple's Foundation Models framework to call Claude for more complex workflows.

今天,我们通过一个新的Swift包发布了Claude对Foundation Models框架的支持,让Apple开发者可以使用Apple的Foundation Models框架调用Claude,以处理更复杂的工作流程。

Apple’s Foundation Models framework gives developers access to tap into models natively from Swift. It is very easy to use and can return typed Swift values through guided generation in as few as three lines of code. Developers can use this to tap into Apple’s on-device models for fast, local tasks like summarization or extraction.

Apple的Foundation Models框架让开发者能够从Swift原生访问模型。它非常易于使用,通过引导生成,仅需三行代码即可返回类型化的Swift值。开发者可以利用这一点访问Apple的端侧模型,用于快速、本地的任务,如摘要或提取。

Developers can now use Apple’s Foundation Models framework to hand off to Claude when a request calls for multi-step reasoning, code generation, and more. Claude can also search the web for current information and execute code for data analysis. Stream Claude's response back into the same view.

现在,开发者可以使用Apple的Foundation Models框架,在请求需要多步推理、代码生成等场景时,将任务转交给Claude。Claude还可以搜索网络获取最新信息,并执行代码进行数据分析。将Claude的响应流式传回同一视图。

Because Apple's framework returns typed Swift values from @Generable annotations, developers arrive at the Claude API call with clean inputs instead of raw user text.

由于Apple的框架通过@Generable注解返回类型化的Swift值,开发者到达Claude API调用时,输入是干净的,而非原始的用户文本。

What this unlocks

这解锁了什么

The Foundation Models framework already powers a range of intelligent on-device features — journaling apps that surface personalized prompts, document apps that summarize contracts, learning apps that explain a concept at a student's level. Adding Claude extends each of those patterns.

Foundation Models框架已经支持一系列智能端侧功能——例如,日记应用提供个性化提示,文档应用总结合同,学习应用以学生水平解释概念。添加Claude扩展了这些模式。

A journaling app can generate daily prompts on-device, then ask Claude to find threads across months of entries. A study app can define a term on-device, then hand off to Claude when the student follows up with "why does this matter for everything else we've covered?"

日记应用可以在端侧生成每日提示,然后让Claude在数月条目中寻找线索。学习应用可以在端侧定义术语,当学生追问“为什么这对我们已学的一切都很重要?”时,转交给Claude处理。

It's one experience for the user, backed by the right model for each step.

对用户而言,这是一个统一的体验,每一步都由合适的模型支持。

Getting started

开始使用

Claude support with the Foundation Models framework will be available tomorrow and works through Apple's Foundation Models framework on iOS 27, iPadOS 27, macOS 27, and visionOS 27, and watch OS 27. Add it to your project, sign in with an Anthropic API key, and pass typed outputs from Apple's on-device pass into a Claude request — the package handles streaming, tool calls, and structured responses back into your SwiftUI view.

Claude对Foundation Models框架的支持将于明天可用,并通过Apple的Foundation Models框架在iOS 27、iPadOS 27、macOS 27、visionOS 27和watchOS 27上工作。将其添加到您的项目,使用Anthropic API密钥登录,并将Apple端侧传递的类型化输出传入Claude请求——该包处理流式传输、工具调用和结构化响应,返回您的SwiftUI视图。

No items found.

未找到项目。

PrevPrev

上一页

0/5

0/5

NextNext

下一页

eBook

电子书

FAQ

常见问题

No items found.

未找到任何项目。

Related posts

相关文章

Explore more product news and best practices for teams building with Claude.

探索更多关于使用Claude构建团队的产品新闻和最佳实践。

Aug 28, 2026

2026年8月28日

Claude for Teachers, now available for U.S. K-12 schools and districts

Claude for Teachers现已面向美国K-12学校和学区开放

Product announcements

产品公告

Claude for Teachers, now available for U.S. K-12 schools and districtsClaude for Teachers, now available for U.S. K-12 schools and districts

Claude for Teachers现已面向美国K-12学校和学区开放Claude for Teachers现已面向美国K-12学校和学区开放

Claude for Teachers, now available for U.S. K-12 schools and districtsClaude for Teachers, now available for U.S. K-12 schools and districts

Claude for Teachers现已面向美国K-12学校和学区开放Claude for Teachers现已面向美国K-12学校和学区开放

Aug 26, 2026

2026年8月26日

Claude gets its own browser in Cowork

Claude在Cowork中拥有了自己的浏览器

Product announcements

产品公告

Claude gets its own browser in CoworkClaude gets its own browser in Cowork

Claude在Cowork中拥有了自己的浏览器Claude在Cowork中拥有了自己的浏览器

Claude gets its own browser in CoworkClaude gets its own browser in Cowork

Claude在Cowork中拥有了自己的浏览器Claude在Cowork中拥有了自己的浏览器

Aug 26, 2026

2026年8月26日

Claude in Chrome is generally available

Claude在Chrome中正式可用

Product announcements

产品公告

Claude in Chrome is generally available Claude in Chrome is generally available

Claude在Chrome中正式可用 Claude在Chrome中正式可用

Claude in Chrome is generally available Claude in Chrome is generally available

Claude在Chrome中正式可用 Claude在Chrome中正式可用

Aug 11, 2026

2026年8月11日

Compliance API coverage extends to Claude Cowork and Claude Code

合规API覆盖范围扩展至Claude Cowork和Claude Code

Enterprise AI

企业级AI

Compliance API coverage extends to Claude Cowork and Claude CodeCompliance API coverage extends to Claude Cowork and Claude Code

合规API覆盖范围扩展至Claude Cowork和Claude Code

Compliance API coverage extends to Claude Cowork and Claude CodeCompliance API coverage extends to Claude Cowork and Claude Code

合规API覆盖范围扩展至Claude Cowork和Claude Code

Transform how your organization operates with Claude

借助Claude改变您的组织运营方式

See pricing

查看定价

See pricingSee pricing

查看定价

Contact sales

联系销售

Contact salesContact sales

联系销售

Get the developer newsletter

获取开发者新闻通讯

Product updates, how-tos, community spotlights, and more. Delivered monthly to your inbox.

产品更新、操作指南、社区亮点等,每月发送至您的邮箱。

SubscribeSubscribe

订阅

Please provide your email address if you'd like to receive our monthly developer newsletter. You can unsubscribe at any time.

如果您希望接收我们的月度开发者新闻通讯,请提供您的电子邮件地址。您可以随时取消订阅。

Thank you! You’re subscribed.

谢谢!您已成功订阅。

Sorry, there was a problem with your submission, please try again later.

抱歉,您的提交出现问题,请稍后重试。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近