I'm trying to use the new Combine framework with the Notification Center as Apple explained in this video: https://developer.apple.com/videos/play/wwdc2019/721/
You can find it in the slide 21.
It seems that my project does not read the Combine framework apis.
import Combine
import Foundation
let trickNamePublisher = NotificationCenter.default.publisher(for: .newTrickDownloaded)
And i'm getting this error:
Value of type 'NotificationCenter' has no member 'publisher'