更新时间:2023-10-23 08:05:58
在 Obj-C 文件中,您需要导入 swift 模块(使用 #import "Module-Swift.h"
).
In Obj-C files, you need to import the swift module (with #import "Module-Swift.h"
).
仅在要使用 Swift 模块中定义的类型的文件中执行此操作.
Do this only in the files where you are going to use types defined in your Swift module.