Dmitri Sh
10/24/2019, 1:17 AMinterface Idea
. When in Swift, want to have a struct implement this interface, a.k.a protocol now in the Swiftland. Get a compiler error - inheritance from non-protocol type 'Idea'.
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 - or no getting around and have to use classes in Swift😥?Andrey Chernov
10/24/2019, 4:21 AMkpgalligan
10/24/2019, 4:28 PMDmitri Sh
10/24/2019, 7:07 PM