mirror of
https://github.com/NohamR/knowledge-kit.git
synced 2026-05-26 20:00:43 +00:00
feat: 初始化
This commit is contained in:
10
第一部分 iOS/1.17.md
Normal file
10
第一部分 iOS/1.17.md
Normal file
@@ -0,0 +1,10 @@
|
||||
### Swift、OC混编
|
||||
|
||||
```
|
||||
1、在oc文件中使用swift文件。
|
||||
选中项目TARGETS->Building Settings->搜索“Objective-C Genereated Interface Header Name”对应的名字。
|
||||
在oc文件中需要使用swift的地方,头文件导入上一步对应的名字。
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user