汐月若清

Results 3 comments of 汐月若清

按照文档所说的, 1. 添加WXSwiftTestModule.h/.m文件,并在Bridging-Header.h中import WXSwiftTestModule.h 2. 在WXSwiftTestModule.m中添加WX_EXPORT_METHOD(@selector(method:))方法,并import project-swift.h 3. 创建swift file,通过extension的方式扩充method方法 但是仍然提示找不到注册的module的方法 method:method for module: module doesn't exist, maybe it has not been registered [;

@xeha-gmbh I think you misunderstand me. It's not me but the compiler can not find the method. I'm confused somewhere I lost or did mistake, so that the complier can't...

@zhongdom 这个问题我后来直接用oc代码实现,然后调用swift的方法……非常感谢解惑,我以为这个坑就这么掉下去爬不出来了