首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >WWDC 2025 开发者特辑 | 肘子的 Swift 周报 #088

WWDC 2025 开发者特辑 | 肘子的 Swift 周报 #088

作者头像
东坡肘子
发布于 2025-06-13 06:24:19
发布于 2025-06-13 06:24:19
14702
代码可运行
举报
运行总次数:2
代码可运行

weekly.fatbobman.com[1]订阅本周报的电子邮件版本。访问我的博客 肘子的 Swift 记事本[2]查看更多的文章。加入 Discord[3]社区,与 2000+ 中文开发者深入交流 Swift、SwiftUI 开发体验。

WWDC 2025 开发者特辑

WWDC 2025 带来了众多令人瞩目的新功能和 API。作为特刊,本期周报精选了开发者社区颇具价值的解读文章、实用工具和关键注意事项,帮助大家快速掌握新特性的核心要点。内容将持续更新至本周末。

Ask WWDC[4]

借助大模型技术,你可以用自然语言搜索历届 WWDC 内容(包括 WWDC 25)。比如询问"App Intents 的代码现在可以放在 SPM 中吗?",不仅会给出明确答复,还会附上相应的 Session 视频作为参考。


WWDC Notes[5]

社区维护的 WWDC Session 详细记录(包含 WWDC 25)。欢迎更多开发者参与贡献[6]


Apple Developer 的 Youtube 频道[7]

当 Developer 应用中的 WWDC Session 视频播放卡顿时,可直接访问苹果在 YouTube 上的官方频道观看。


WWDC 2025 初印象:意料之中,预想之外[8]by Fatbobman[9]

WWDC 2025 如期而至。苹果一次性发布了所有的 Session 视频,让开发者得以在第一时间了解自己感兴趣的新特性和新 API。经过两天的快速浏览,我对本届 WWDC 2025 的初步印象为:意料之中,预想之外。


Updates to Apple's On-Device and Server Foundation Language Models[10]

苹果官方对 Foundation Models 框架的详细介绍。全面展示了 Apple Intelligence 背后的核心模型、优化策略与开发者支持路径。亮点不仅在于推理效率和模型能力的提升,更体现在隐私保护、可控输出和多语言支持的系统性设计上。


All New Frameworks Presented at WWDC25[11]by Marco Eidinger[12]

WWDC 2025 推出的新框架完整汇总。你还可以在此处[13]检索所有苹果官方框架信息。


Opting Your App Out of the Liquid Glass Redesign with Xcode 26[14]by Donny Wals[15]

暂时没有精力适配 Liquid Glass?苹果为开发者提供了一年缓冲期,允许应用在 iOS 26 系统上继续使用传统 UI 风格(禁用 Liquid Glass)。


Setting Default Actor Isolation in Xcode 26[16]by Donny Wals[17]

Xcode 26 支持了众多 Swift 6.2 新并发功能。如果配置不当,可能导致代码无法编译。


Apple Intelligence APIs[18]by Alex[19]

两篇文章[20],全方位展示 Foundation Models 的各个方面。


What’s new with SwiftUI 26[21] && What is New in SwiftUI after WWDC25[22]

Thomas Ricouard[23]Majid Jabrayilov[24]整理的 SwiftUI 新功能速览。


iOS 26: Notable UIKit Additions[25]by Jordan Morgan[26]

WWDC 2025 为 UIKit 带来的重要新功能。


How to Observe Model Changes in iOS 26[27]by Khoa[28]

iOS 26 中,UIKit 视图获得了与 SwiftUI 相同的 Observable 自动响应能力,本文详细介绍其使用方法。


WebView is Finally Coming to SwiftUI[29]by Daniel Saidi[30]

SwiftUI 原生 WebView 的使用指南。


Create Immersive Backgrounds in SwiftUI with backgroundExtensionEffect[31]by Natalia Panferova[32]

backgroundExtensionEffect是 WWDC 2025 中 SwiftUI 的视觉增强工具,通过将图片或背景内容扩展并模糊至视图边界外,实现更具沉浸感和系统一致性的设计效果。


Flutter 对于 Liquid Glass 支持的讨论[33]

Flutter 团队避免陷入追逐每次原生设计更新的循环,更倾向于让设计风格模块化、社区化。如果希望在 Flutter 中实现 Liquid Glass 风格,短期内需依赖第三方包或自定义组件。


Virtualising macOS 26 Tahoe[34]by Howard Oakley[35]

在 Apple Silicon Mac 上安全运行 macOS 26 Beta(Tahoe)虚拟机的完整指南。


Liquid Glass 底层实现的简单探索[36]by Cyandev[37]

Liquid Glass 效果主要由苹果内部的私有图层系统实现,核心是 CABackdropLayer 和 CASDFLayer 的组合。它通过一个特殊的 glassBackground 滤镜和动态生成的 SDF 纹理,呈现出折射、融合等玻璃感效果。这些图层被 _UIMultiLayer 封装,开发者无法直接访问,所有动画和参数调节也都由 UIKit 内部完成。


修复项目无法在 Xcode 26 中打开的方法[38]by Cihat Gündüz[39]

右键点击 .xcodeproj 文件,选择"显示包内容"。对 project.xcworkspace 执行相同操作,删除 xcuserdata 文件夹(包含不兼容的 .xcuserstate 文件)。


Enable Apple AI[40]by Kan Zhang[41]

在尚未开放 Apple Intelligence 权限的地区,为 macOS 26 开启相关功能的工具。


macOS Tahoe Brings a New Disk Image Format[42]by Howard Oakley[43]

macOS 26 Tahoe 引入了基于 APFS 稀疏文件的全新 ASIF 磁盘映像格式,可在虚拟机中实现近原生的读写速度,并向 Sequoia 15.5 及以后版本兼容。


Sketching, Composing, and… Failing? My App Icon Experience with Apple’s New Tool Icon Composer[44]by implyKyra[45]

使用 Icon Composer 的体验:设计应用程序图标比以往更加轻松,但仍存在一些限制。


Automatic Observation Tracking in UIKit and AppKit: The Feature Apple Forgot to Mention[46]by Peter Steinberger[47]

在 iOS 18 和 macOS 15 中,只需在 Info.plist 中开一个开关,UIKit 和 AppKit 即可自动跟踪 @Observable 模型的属性访问并在视图更新时自动刷新;iOS 26 及以后版本还引入了更高效的 updateProperties() 方法,并默认开启该功能。


labelIconToTitleSpacing[48]by Enid[49]

从 IOS 26 开始,开发者可以通过 labelIconToTitleSpacing调整 Label("Hello",systemImage: "globe")文字和图片之间的间距了。


Cook up 3D charts with Swift Charts by Artem Novichkov[50]

Swift Charts 在 WWDC25 中新增了 Chart3D API,让开发者无需依赖第三方库即可在 SwiftUI 中创建交互式、可定制的三维图表。


Crafting Liquid Glass app icons with Icon Composer[51]by Flora Damiano[52]

使用 Icon Composer 打造适配 iOS、iPadOS、macOS 与 watchOS 的 Liquid Glass 动态响应式图标指南。


WWDC 2025 Group Lab Transcript[53]by sam henri gold[54]

错过了今年的 Group Lab?别担心!Sam 已将他在 AI、SwiftUI、Design、UI 等专题场次的现场问答整理成文,带你一览开发者最关心的核心问题。

参考资料

[1]

weekly.fatbobman.com: https://weekly.fatbobman.com

[2]

肘子的 Swift 记事本: https://fatbobman.com

[3]

Discord: https://t.ly/gzxeh

[4]

Ask WWDC: https://askwwdc.com

[5]

WWDC Notes: https://wwdcnotes.com/

[6]

参与贡献: https://wwdcnotes.com/documentation/wwdcnotes/contributing

[7]

Apple Developer 的 Youtube 频道: https://www.youtube.com/@AppleDeveloper

[8]

WWDC 2025 初印象:意料之中,预想之外: https://fatbobman.com/zh/posts/wwdc-2025-first-impressions/

[9]

Fatbobman: https://x.com/fatbobman

[10]

Updates to Apple's On-Device and Server Foundation Language Models: https://machinelearning.apple.com/research/apple-foundation-models-2025-updates

[11]

All New Frameworks Presented at WWDC25: https://blog.eidinger.info/all-new-frameworks-presented-at-wwdc25

[12]

Marco Eidinger: https://hashnode.com/@MarcoEidinger

[13]

此处: https://marcoeidinger.github.io/appleframeworks/

[14]

Opting Your App Out of the Liquid Glass Redesign with Xcode 26: https://www.donnywals.com/opting-your-app-out-of-the-liquid-glass-redesign-with-xcode-26/

[15]

Donny Wals: https://x.com/donnywals

[16]

Setting Default Actor Isolation in Xcode 26: https://www.donnywals.com/setting-default-actor-isolation-in-xcode-26/

[17]

Donny Wals: https://x.com/donnywals

[18]

Apple Intelligence APIs: https://alexanderlogan.co.uk/blog/wwdc25/01-apple-intelligence

[19]

Alex: https://x.com/SwiftyAlex

[20]

两篇文章: https://alexanderlogan.co.uk/blog/wwdc25/02-apple-intelligence-tools

[21]

What’s new with SwiftUI 26: https://dimillian.medium.com/whats-new-with-swift-26-f17e98b07c87

[22]

What is New in SwiftUI after WWDC25: https://swiftwithmajid.com/2025/06/10/what-is-new-in-swiftui-after-wwdc25/

[23]

Thomas Ricouard: https://x.com/Dimillian

[24]

Majid Jabrayilov: https://x.com/mecid

[25]

iOS 26: Notable UIKit Additions: https://www.swiftjectivec.com/ios-26-notable-uikit-additions/

[26]

Jordan Morgan: https://x.com/jordanmorgan10

[27]

How to Observe Model Changes in iOS 26: https://onmyway133.com/posts/how-to-observe-model-changes-in-ios-26/

[28]

Khoa: https://x.com/onmyway133

[29]

WebView is Finally Coming to SwiftUI: https://danielsaidi.com/blog/2025/06/10/webview-is-finally-coming-to-swiftui

[30]

Daniel Saidi: https://mastodon.social/@danielsaidi

[31]

Create Immersive Backgrounds in SwiftUI with backgroundExtensionEffect: https://nilcoalescing.com/blog/BackgroundExtensionEffectInSwiftUI/

[32]

Natalia Panferova: https://x.com/natpanferova

[33]

Flutter 对于 Liquid Glass 支持的讨论: https://github.com/flutter/flutter/issues/170310

[34]

Virtualising macOS 26 Tahoe: https://eclecticlight.co/2025/06/11/virtualising-macos-26-tahoe/

[35]

Howard Oakley: https://x.com/howardnoakley

[36]

Liquid Glass 底层实现的简单探索: https://x.com/unixzii/status/1932819040596340953

[37]

Cyandev: https://x.com/unixzii

[38]

修复项目无法在 Xcode 26 中打开的方法: https://x.com/Jeehut/status/1932339534592663901

[39]

Cihat Gündüz: https://x.com/Jeehut

[40]

Enable Apple AI: https://github.com/kanshurichard/enableAppleAI

[41]

Kan Zhang: https://github.com/kanshurichard

[42]

macOS Tahoe Brings a New Disk Image Format: https://eclecticlight.co/2025/06/12/macos-tahoe-brings-a-new-disk-image-format/

[43]

Howard Oakley: https://x.com/howardnoakley

[44]

Sketching, Composing, and… Failing? My App Icon Experience with Apple’s New Tool Icon Composer: https://www.simplykyra.com/blog/sketching-composing-and-failing-my-app-icon-experience-with-apples-new-tool-icon-composer/

[45]

implyKyra: https://x.com/SimplyKyraBlog

[46]

Automatic Observation Tracking in UIKit and AppKit: The Feature Apple Forgot to Mention: https://steipete.me/posts/2025/automatic-observation-tracking-uikit-appkit

[47]

Peter Steinberger: https://x.com/steipete

[48]

labelIconToTitleSpacing: https://x.com/fatbobman/status/1933094864398483477

[49]

Enid: https://x.com/ios_dev_alb

[50]

Artem Novichkov: https://x.com/iosartem

[51]

Crafting Liquid Glass app icons with Icon Composer: https://www.createwithswift.com/crafting-liquid-glass-app-icons-with-icon-composer/

[52]

Flora Damiano: https://x.com/flora_dam

[53]

WWDC 2025 Group Lab Transcript: https://gist.github.com/samhenrigold

[54]

sam henri gold: https://x.com/samhenrigold

[55] Cook up 3D charts with Swift Charts

: https://www.artemnovichkov.com/blog/cook-up-3d-charts-with-swift-charts

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2025-06-13,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 肘子的Swift记事本 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
暂无评论
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档
本文部分代码块支持一键运行,欢迎体验
本文部分代码块支持一键运行,欢迎体验