Skip to content

借用 VFS 技术,实现手动将 Objective-C 的 API 暴露给 Swift 使用的示例

Notifications You must be signed in to change notification settings

SketchK/manually-expose-objective-c-API-to-swift-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

借用 VFS 技术,实现手动将 Objective-C 的 API 暴露给 Swift 使用的示例

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published