Fork自 DCloud / uni-app
体验新版 GitCode,发现更多精彩内容 >>
@objcMembers class TestModuleImpl : NSObject { func testAsyncFunc(option: NSDictionary, callback: UniModuleKeepAliveCallback) { console.log(option); callback("success", false); } func testSyncFunc(option: NSDictionary) -> String { console.log(option); return ""; } }