Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/swiftDialog/swiftDialog

Create user-notifications on macOS with swiftDialog
https://github.com/swiftDialog/swiftDialog

Last synced: about 1 month ago
JSON representation

Create user-notifications on macOS with swiftDialog

Awesome Lists containing this project

README

        

[![Static Badge](https://img.shields.io/badge/SwiftUI-524520?logo=swift)](https://developer.apple.com/xcode/swiftui/) [![GitHub tag (with filter)](https://img.shields.io/github/v/tag/gonzalezreal/swift-markdown-ui?label=MarkdownUI&logo=markdown)](https://github.com/gonzalezreal/swift-markdown-ui) [![GitHub tag (with filter)](https://img.shields.io/github/v/tag/SwiftyJSON/SwiftyJSON?label=SwiftyJSON&logo=json)](https://github.com/SwiftyJSON/SwiftyJSON) [![GitHub tag (with filter)](https://img.shields.io/github/v/tag/danielsaidi/WebViewKit?label=WebViewKit&logo=swift)](https://github.com/danielsaidi/WebViewKit)

[![GitHub release (with filter)](https://img.shields.io/github/v/release/bartreardon/swiftDialog?color=green&label=Latest%20Release&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAhGVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAh2kABAAAAAEAAABaAAAAAAAAAEgAAAABAAAASAAAAAEAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEKADAAQAAAABAAAAEAAAAADHbxzxAAAACXBIWXMAAAsTAAALEwEAmpwYAAACMGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNi4wLjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub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CEGCuf5tE8Oyjz3Es4vsKLFMsW2EYtSGBYUkpLQkQMbHyxTEgSKRBSqk/mWifYUuwQgLOlMpjf9DsMnPScjCFSE5h7xfJ1iQlHYxRIFKAY2NhGZnNzs9Oh79NxxoUtgHrK2314PUkTM38xOhFnul0FvT6/suDZx++whwlhSXxchCSj1w6sHUmVBCnfn+OFs7UVyfqhj5n8kM3RkRf+wYY/fQN+l5PQZVjgMLoBUpVAs/C4JDLBt06BGlNpdjNtrbCocsPmw3bfCywXVjPXFXE5OPZPIljzgx96C/oeYhWVfP0zJced2NDZyqlWCi0xX2Es73FP3bt6S5uilQ0kbA9LwsGNoZgZOwSlDlOePYysz2nm5KdYYJKlTIFKJGcuPeyJmLJU+W23G0IupzjBCmi0l6ghn/kct1nNiTvazB2B+tL9Kj9NU1Sug2MjRlXR9+vuv5qqqH30fOKkl/LRnSpMfAb1FcCuSTGYbQAAAAASUVORK5CYII=)](https://github.com/bartreardon/swiftDialog/releases)

# swiftDialog

swiftDialog is an [open source](https://github.com/bartreardon/Dialog/blob/main/LICENSE.md) admin utility for macOS 12 or later written in SwiftUI that presents custom dialogs, displays informative messages or can be used as a form to request user input.

Latest releases can be found on the [Releases](https://github.com/bartreardon/Dialog/releases) page

Detailed documentation and information can be found in the [Wiki](https://github.com/bartreardon/Dialog/wiki)

Screenshot 2023-08-15 at 1 35 15 pm

## Appearance
Every aspect of swiftDialog's appearance can be modified.

At the most simple level you need only give swiftDialog a [Title](https://github.com/bartreardon/Dialog/wiki/Customising-the-Title) and a [Message](https://github.com/bartreardon/Dialog/wiki/Customising-the-Message-area) to display but there is more utility in modifying other aspects of the appearance:
* [Pass in an image resource](https://github.com/bartreardon/Dialog/wiki/Customising-the-Icon) to display as the swiftDialog icon, or use an app path or system preference bundle path and swiftDialog will extract the icon for display.
* [Add extra buttons](https://github.com/bartreardon/Dialog/wiki/Buttons-and-button-behaviour). Change the text to say what you want. Wait for user input or automatically time out.
* [Use markdown](https://github.com/bartreardon/Dialog/wiki/Customising-the-Message-area#markdown-support-new-from-v150) in the message to add **bold** or _italics_ or include URL links
* Change the [colour, size or even the font](https://github.com/bartreardon/Dialog/wiki/Customising-the-Title#customising-title-font-properties) used in the Title and Message areas
* [Change the size](https://github.com/bartreardon/Dialog/wiki/Window-Size-and-Behaviour) of the swiftDialog window
* Display [Videos](https://github.com/bartreardon/Dialog/wiki/Customising-the-Message-area#displaying-videos-new-from-v180) or [Images](https://github.com/bartreardon/Dialog/wiki/Customising-the-Message-area#displaying-images-new-from-v160) either locally or pass in a URL
* and lots more...

## Commandline Options

swiftDialog's interface is fully customised from a set of command line options.

For details on all the available options, please read the [Command Line Options](https://github.com/bartreardon/Dialog/wiki/Command-Line-Options) page on the wiki.

****

## 💡 Giving Feedback
🐞 If there are bugs or ideas, please create an [issue](https://github.com/bartreardon/Dialog/issues/new/choose) so your idea doesn't go missing.

Also come chat in the `#swiftDialog` channel in the [MacAdmins Slack](https://www.macadmins.org)

## 🤝 Contributing

Please read the [CONTRIBUTING.md](https://github.com/bartreardon/Dialog/blob/main/CONTRIBUTING.md) for details on how you can contribute.