Skip to content

Commit cb551f8

Browse files
committed
Update comment
1 parent 559de69 commit cb551f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Yippy/Sources/Models/PasteboardMonitor/PasteboardMonitor.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class PasteboardMonitor {
2727
self.lastChangeCount = changeCount
2828

2929
// Registers if any application becomes active (or comes frontmost) and calls a method if it's the case.
30+
// https://stackoverflow.com/a/49402868
3031
NSWorkspace.shared.notificationCenter.addObserver(self, selector: #selector(activeApp(sender:)), name: NSWorkspace.didActivateApplicationNotification, object: nil)
3132

3233
// TODO: Is it best to do a check straight away?

0 commit comments

Comments
 (0)