I have a problem assigning the delegate for an object that is an instance of a class that defines a protocol in Swift as follows:
I simplified the code to the bare bones
The Known Issues section of the Release Notes says:
You cannot conditionally assign to a property of an optional object. (16922562)
For example, this is not supported:
let window: NSWindow? = NSApplication.sharedApplication.mainWindow window?.title = "Currently experiencing problems"
So you should do something like if let realObject = object { ... }