Home > AI > Uncategorized

Swift – 与C混编

1.创建c文件

2.自动生成Bridging-Header文件

3.把要swift用的函数写在Bridging-Header,即可。

Related posts:

Leave a Reply