Skip to main content
added 104 characters in body
Source Link
Przemekeke
  • 67
  • 1
  • 1
  • 8

I have two Swift macOS apps with running from XCode which are simple listener-notifier programs based on DistributedNotificationCenter. It all seems straightforward, but it is not always working. And it seems pretty random for me. Is there any way to debug this feature? Why sometimes messages is not received or are there maybe some leak of the listener ports? Do you know maybe any tool? I tried to use console logs but I haven't found anything interesting there. ThanskThanks!

Ps. I've noticed that notification is sent when I went machine to Sleep and the Login again. Strange

I have two Swift macOS apps with running from XCode which are simple listener-notifier programs based on DistributedNotificationCenter. It all seems straightforward, but it is not always working. And it seems pretty random for me. Is there any way to debug this feature? Why sometimes messages is not received or are there maybe some leak of the listener ports? Do you know maybe any tool? I tried to use console logs but I haven't found anything interesting there. Thansk!

I have two Swift macOS apps with running from XCode which are simple listener-notifier programs based on DistributedNotificationCenter. It all seems straightforward, but it is not always working. And it seems pretty random for me. Is there any way to debug this feature? Why sometimes messages is not received or are there maybe some leak of the listener ports? Do you know maybe any tool? I tried to use console logs but I haven't found anything interesting there. Thanks!

Ps. I've noticed that notification is sent when I went machine to Sleep and the Login again. Strange

Source Link
Przemekeke
  • 67
  • 1
  • 1
  • 8

How to debug Distributed Notification Center

I have two Swift macOS apps with running from XCode which are simple listener-notifier programs based on DistributedNotificationCenter. It all seems straightforward, but it is not always working. And it seems pretty random for me. Is there any way to debug this feature? Why sometimes messages is not received or are there maybe some leak of the listener ports? Do you know maybe any tool? I tried to use console logs but I haven't found anything interesting there. Thansk!