MoreWindows

macOS 上 SwiftUI 应用程序的额外 Scene 类型和实用工具。

A screenshot of two windows.  The one on the left is a "launcher" style window, similar to what you'd see when opening Xcode.  The window on the right is an "about" style window, displaying app information like the version and copyright.

注意

此软件包正在开发中,尚未被认为是可用于生产环境的版本。
破坏性更改很常见,文档不完整,支持有限。使用风险自负。

要求

MoreWindows 需要 macOS 13.0 或更高版本上的 SwiftUI 生命周期应用程序。

注意: 理论上 支持 macOS 13。我已经尽力适应,但我无法知道它是否真的有效。如果 macOS 13 上遇到任何问题,请打开 issue 或创建 pull request。

安装 (Swift Package Manager)

将以下条目添加到您的软件包依赖项...

.package(url: "https://github.com/ryanslikesocool/MoreWindows.git", from: "0.1.0"),

...以及您的目标依赖项。

.target(
	name: "MyTarget",
	dependencies: [
		"MoreWindows",
	]
),

文档

此软件包的大部分内容都使用 DocC 编写文档。
要在 Xcode 中查看文档,请从菜单栏中选择 Product > Build Documentation