mirror of
https://github.com/NohamR/knowledge-kit.git
synced 2026-05-25 12:27:15 +00:00
271 B
271 B
Swift、OC混编
1、在oc文件中使用swift文件。
选中项目TARGETS->Building Settings->搜索“Objective-C Genereated Interface Header Name”对应的名字。
在oc文件中需要使用swift的地方,头文件导入上一步对应的名字。