今年 AppKit 的更新有哪些?
Asked on 06/16/2025
1 search
在今年的 WWDC 中,AppKit 的更新主要包括以下几个方面:
-
窗口平铺:引入了窗口平铺功能,帮助应用程序的窗口更好地组织和清理。
-
SwiftUI 集成:增加了新的菜单和动画 API,进一步支持 SwiftUI 的集成。
-
系统标准组件:引入了新的内容类型、选择器、光标和文本输入建议等系统标准组件。
-
键盘快捷菜单:在 macOS Sequoia 中,用户可以使用键盘快捷方式(默认是 Control + Return)打开当前聚焦的 UI 元素的上下文菜单。
-
工具栏改进:提供了更多对工具栏的控制,确保工具栏支持所有显示模式。
-
文本系统和 SF Symbols:文本系统和 SF Symbols 得到了新的功能和改进。
-
文档保存便利性:在保存文档时提供了新的便利功能。
-
光标和文本输入:引入了一些新的光标和一个新的 API 来协助文本输入。
这些更新旨在帮助开发者更好地利用 AppKit 的功能来创建出色的 Mac 应用程序。有关详细信息,可以查看 What’s new in AppKit (08:15) 这一会话。

What’s new in AppKit
Discover the latest advances in Mac app development. Get an overview of the new features in macOS Sequoia, and how to adopt them in your app. Explore new ways to integrate your existing code with SwiftUI. Learn about the improvements made to numerous AppKit controls, like toolbars, menus, text input, and more.

Build an AppKit app with the new design
Update your AppKit app to take full advantage of the new design system. We’ll dive into key changes to tab views, split views, bars, presentations, search, and controls, and show you how to use Liquid Glass in your custom UI. To get the most out of this video, we recommend first watching “Get to know the new design system” for general design guidance.

Platforms State of the Union
Discover the newest advancements on Apple platforms.