Is there an official workaround with protocols and types that are not supported in Object C
As an example, I have a protocol that cocoa reactive producer returns
public protocol PLoginService {
func login(username:String,password:String) -> SignalProducer<Bool,NSError>
}
If I use @objc in the protocol, then I get a compiler error that the return type is not supported in Objective C. I will have many such constructs, so I was wondering what I can do to benefit from typhoon magic
source
share