I am using Weex ios sdk. For exposing js method there is a pragma
#define WX_EXPORT_METHOD(method)
But this pragma is accessible in objective C file only. I need to use this in swift file.
Is there any way to do so ?
I am using Weex ios sdk. For exposing js method there is a pragma
#define WX_EXPORT_METHOD(method)
But this pragma is accessible in objective C file only. I need to use this in swift file.
Is there any way to do so ?
I think the solution of your work is to create Objective-c Bridging header look this :