NotifierUI // GCD the tasks in notify().
This commit is contained in:
parent
abe6375347
commit
b439b2ce93
|
@ -10,7 +10,7 @@ import Cocoa
|
|||
|
||||
public class Notifier: NSWindowController {
|
||||
public static func notify(message: String) {
|
||||
Self.message = message
|
||||
DispatchQueue.main.async { Self.message = message }
|
||||
}
|
||||
|
||||
static var message: String = "" {
|
||||
|
|
Loading…
Reference in New Issue