Hi. A multiplatform project, android and iOS. In c...
# announcements
d
Hi. A multiplatform project, android and iOS. In common code, I have an interface -
interface Idea
. When in Swift, want to have a struct implement this interface, a.k.a now as protocol in the Swiftland. Get a compiler error - inheritance from non-protocol type 'IdeaModel'. In the generated objective-c file I see this - __attribute__((objc_subclassing_restricted)). Reading on it, all objective c protocols are restricted to classes. So how I do get around this problem?