Anton Sidarau
06/06/2020, 2:50 PMclass TestFunction: (String) -> String {
override fun invoke(p1: String): String {
return p1.reversed()
}
}
After importing framework to xcode and calling this function it highlights “can’t be imported”. This is what was generated in .h file
attribute((unavailable("can't be imported")))
attribute((swift_name("TestFunction")))
@interface MppLibTestFunction : NSObject
@end;
Is it supposed to work or currently unsupported?