Skip to content
/ NSAbout Public

A super simple about window for macOS platform.

License

Notifications You must be signed in to change notification settings

Hengyu/NSAbout

Repository files navigation

NSAbout

NSAbout is a super simple about window for macOS platform.

Table of contents

Requirements

  • macOS 10.14+

Usage

let content = AboutContent(
    name: Bundle.main.appName ?? "USTCBot",
    version: "Version \(Bundle.main.releaseVersionNumber ?? "7.0")"
        + " (Build \(Bundle.main.buildVersionNumber ?? "2103"))",
    info: "Designed by Hengyu\nUniversity of Science and Technology of China",
    url: URL(string: "https://artlvr.com")
)

let aboutWindow = AboutWindowController(content: content)

aboutWindow.showWindow(nil)

Installation

Swift Package Manager

NSAbout could be installed via Swift Package Manager. Open Xcode and go to File -> Add Packages..., search https://github.com/hengyu/NSAbout.git, and add the package as one of your project's dependency.

Manual

  1. Download code from GitHub;
  2. Drag & drop the Sources folder into your project.

License

NSAbout is released under the MIT License.

About

A super simple about window for macOS platform.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages