mirror of
https://github.com/NohamR/knowledge-kit.git
synced 2026-05-24 20:00:37 +00:00
docs: 批量博文
This commit is contained in:
10
Chapter1 - iOS/1.16.md
Normal file
10
Chapter1 - iOS/1.16.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