manually-expose-objective-c-API-to-swift-example
manually-expose-objective-c-API-to-swift-example copied to clipboard
借用 VFS 技术,实现手动将 Objective-C 的 API 暴露给 Swift 使用的示例
manually-expose-objective-c-API-to-swift-example
借用 VFS 技术,实现手动将 Objective-C 的 API 暴露给 Swift 使用的示例 详情请阅读我写的文章
在本项目的根目录执行如下命令,查看效果
swiftc -c LaunchPoint.swift -emit-module -emit-module-path build/LaunchPoint.swiftmodule -module-name index -whole-module-optimization -parse-as-library -o build/LaunchPoint.o -Xcc -ivfsoverlay -Xcc tmp/vfs-overlay.yaml -I /MyObjcPod