Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

native macOS notifications for PureBasic

License

Notifications You must be signed in to change notification settings

deseven/pb-macos-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

THIS MODULE IS DEPRECATED

NSUserNotification was deprecated and now you should use UNUserNotification instead. This module does not support it and I have no intention to fix it, sorry. Use it only if you need to target macOS versions up to 10.15. Original description below.

pb-macos-notifications

Native macOS notifications for PureBasic.

notice

You HAVE TO build correct application bundle with a valid bundle identifier.
You also HAVE TO sign your bundle with a valid developer signature.
Alternatively you can use external tool called terminal-notifier.

usage

IncludeFile "notifications.pbi"  
notifications::init()  
Define notification.notifications::osxNotification
notification\title = "Test Title"  
notification\subTitle = "Test Subtitle"  
...  
notifications::sendNotification(@notification)

About

native macOS notifications for PureBasic

Resources

License

Stars

Watchers

Forks