Typhoon and @objc restriction in protocols

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

+3
source share
1 answer

Typhoon , , Objective-C. , , , , Typhoon, @objc. , , Typhoon, Objective-C.

R & D Typhoon Swift, Github.

+2

All Articles