Hi. I am currently implementing inter-application communication using DistributedNotificationCenter within swift 5.6 and Xcode Version 13.3.1 (13E500a).
So I typed the code below into Playground, but I get the error "Cannot find 'DistributedNotificationCenter' in scope".
import Foundation
let dnc = DistributedNotificationCenter.default()
As this document says, DistributedNotificationCenter is included in the Fundation, so I should be able to use it if I write it that way, but I can't.
I would appreciate it if you could tell me how I can use DistributedNotificationCenter
Thanks,