SystemNotification icon indicating copy to clipboard operation
SystemNotification copied to clipboard

SystemNotification is a Swift SDK that helps you mimic the native iOS system notification in SwiftUI.

SystemNotification Logo

Platform Swift 5.6 MIT License Twitter: @danielsaidi

About SystemNotification

SystemNotification is a SwiftUI library that lets you mimic the native iOS system notification that for instance is presented when toggling silent mode on and off on your iPhone.

The result can look like this, or completely different:

These notifications have a default style, but can be customized to great extent to fit your specific needs.

Supported Platforms

SystemNotification supports iOS v14, macOS v11, tvOS v14 and watchOS v7.

Installation

SystemNotification can be installed with the Swift Package Manager:

https://github.com/danielsaidi/SystemNotification.git

or with CocoaPods

pod SystemNotification

Getting started

To get started with SystemNotification, have a look at this getting started guide.

Documentation

The online documentation contains more information, code examples etc. and makes it easy to overview the various parts of the library.

The online documentation is currently iOS only. To generate documentation for other platforms, open the package in Xcode, select a simulator then run Product/Build Documentation.

Demo Application

This project contains a demo app that lets you explore SystemNotification on iOS. To run it, just open and run Demo/Demo.xcodeproj.

Support

You can sponsor this project on GitHub Sponsors or get in touch for paid support.

Contact

Feel free to reach out if you have questions or if you want to contribute in any way:

License

SystemNotification is available under the MIT license. See the LICENSE file for more info.