New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protocol Composition Mock #379
Comments
Hey, it's possible that this case has been overlooked, can you work around it using generics? Using your protocols, declaring |
I just ended up building a class inheriting the two types Ideally we should support composition. |
We should add support for this. Not very common but definitely a good thing to have. |
Fixed in 2.0.3. Thanks for the issue! |
I was writing a piece of code that requires a "Protocol Composition"
InteractionServiceHandler & NavigationContentCaller
But it seems that the Cuckoo only support single Protocol, is the feature supported for the composition ?
Information provide from:
https://docs.swift.org/swift-book/LanguageGuide/Protocols.html#//apple_ref/doc/uid/TP40014097-CH25-ID282
The text was updated successfully, but these errors were encountered: