Horje
swift notifications mac Code Example
swift notifications mac
func showNotification() -> Void {
    var notification = NSUserNotification()
    notification.title = "Test from Swift"
    notification.informativeText = "The body of this Swift notification"
    notification.soundName = NSUserNotificationDefaultSoundName
    NSUserNotificationCenter.default.deliver(notification)
}

self.showNotification()




Swift

Related
swift open url Code Example swift open url Code Example
swift check if string contains string Code Example swift check if string contains string Code Example
delay code execution swift 5 Code Example delay code execution swift 5 Code Example
firebase crashlytics dsym missing Code Example firebase crashlytics dsym missing Code Example
How do I check if a string contains another string in Swift Code Example How do I check if a string contains another string in Swift Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14