Reputation: 21979
I'm currently learning Swift for macOS and need to use NSNotificationCenter. In the documentation, it is said that I can use the class:
However, Xcode doesn't seems to recognize the class:
Is there some steps that's missing? Because, I get the impression that Foundation classes don't require import.
Upvotes: 0
Views: 251