Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hexedbits/AboutThisApp
A standard, customizable "About This App" panel for any Mac app
https://github.com/hexedbits/AboutThisApp
about-app macos swift
Last synced: 19 days ago
JSON representation
A standard, customizable "About This App" panel for any Mac app
- Host: GitHub
- URL: https://github.com/hexedbits/AboutThisApp
- Owner: hexedbits
- License: mit
- Created: 2020-01-26T01:06:07.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-02-14T19:37:08.000Z (9 months ago)
- Last Synced: 2024-10-18T16:19:11.724Z (29 days ago)
- Topics: about-app, macos, swift
- Language: Swift
- Homepage: https://hexedbits.github.io/AboutThisApp/
- Size: 1.26 MB
- Stars: 80
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# AboutThisApp [![CI](https://github.com/hexedbits/AboutThisApp/workflows/CI/badge.svg)](https://github.com/hexedbits/AboutThisApp/actions)
*A standard, customizable "About This App" panel for any Mac app*
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fhexedbits%2FAboutThisApp%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/hexedbits/AboutThisApp)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fhexedbits%2FAboutThisApp%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/hexedbits/AboutThisApp)## About
This library provides a standard "About This App" panel for Mac apps. It requires **zero configuration by default** for typical projects, and it can be easily customized.
AppKit provides a default "About This App" panel via [`NSApp.orderFrontStandardAboutPanel()`](https://developer.apple.com/documentation/appkit/nsapplication/1428479-orderfrontstandardaboutpanel), but customization is limited.
This component is used in [Red Eye](https://www.hexedbits.com/redeye/) and [Lucifer](https://www.hexedbits.com/lucifer/).
## Usage
```swift
let metadata = AppMetadata() // customize if desiredlet panel = AboutThisAppPanel(metadata: metadata)
panel.makeKeyAndOrderFront(nil)
```## Requirements
- macOS 11.0+
- Swift 5.9+
- Xcode 15.0+
- [SwiftLint](https://github.com/realm/SwiftLint)## Installation
### [CocoaPods](http://cocoapods.org)
````ruby
pod 'AboutThisApp', '~> 2.0.0'
````### [Swift Package Manager](https://swift.org/package-manager/)
Add `AboutThisApp` to the `dependencies` value of your `Package.swift`.
```swift
dependencies: [
.package(url: "https://github.com/hexedbits/AboutThisApp", from: "2.0.0")
]
```Alternatively, you can add the package [directly via Xcode](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app).
## Documentation
You can read the [documentation here](https://hexedbits.github.io/AboutThisApp). Generated with [jazzy](https://github.com/realm/jazzy). Hosted by [GitHub Pages](https://pages.github.com).
## Contributing
Interested in making contributions to this project? Please review the guides below.
- [Contributing Guidelines](https://github.com/hexedbits/.github/blob/main/CONTRIBUTING.md)
- [Code of Conduct](https://github.com/hexedbits/.github/blob/main/CODE_OF_CONDUCT.md)
- [Support and Help](https://github.com/hexedbits/.github/blob/main/SUPPORT.md)
- [Security Policy](https://github.com/hexedbits/.github/blob/main/SECURITY.md)Also consider [sponsoring this project](https://github.com/sponsors/jessesquires) or [buying my apps](https://www.hexedbits.com)! ✌️
## Credits
Created and maintained by [**Jesse Squires**](https://www.jessesquires.com).
## License
Released under the MIT License. See `LICENSE` for details.
> **Copyright © 2020-present Jesse Squires.**