MoreWindows

0.1.3

Additional Scene types for SwiftUI on macOS
ryanslikesocool/MoreWindows

What's New

0.1.3

2024-04-24T19:16:28Z

Custom layouts for the About window.
This can be accomplished by using .aboutWindowLayout(_:) to set an environment variable. By default, this is set to .vertical.
Note that using the .custom value will cause the view to ignore environment variables set with .aboutWindowOptions(_:).

Exposed AppInfoView
This contains the app icon, name, and version, as seen in the .vertical About window layout. It can also be used with custom About window layouts.

MoreWindows

Additional Scene types and utilities for SwiftUI apps on macOS.

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.

NOTICE

This package is under development and not considered production-ready.
Breaking changes are common, documentation is incomplete, and support is limited. Use at your own risk.

Requirements

MoreWindows requires a SwiftUI lifecycle app on macOS 13.0 or later.

NOTE: macOS 13 is supported in theory. I've done my best to accomodate but I have no way of knowing if it actually works. Please open an issue or create a pull request regarding any issues encountered on macOS 13.

Installation (Swift Package Manager)

Add the following entry to your package dependencies...

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

...and your target dependencies.

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

Documentation

Most of this package is documented with DocC.
To view documentation in Xcode, select Product > Build Documentation from the menu bar.

Description

  • Swift Tools 6.0.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sun Apr 27 2025 12:39:36 GMT-0900 (Hawaii-Aleutian Daylight Time)