是这样的,项目是 swift 的,包含了许多 oc 的文件。
这些 oc 文件是从老项目里迁移过来的,老项目里用 prefixheader 引用了许多 helper ,所以我想继续在 swift 项目中的 oc 文件继续使用 prefixheader,不然每个 oc 源文件都要 import 好多 helper ,,,
现在我发现 prefixheader 好像在 swift 的项目里是无效的,请问如何解决,感谢!
是这样的,项目是 swift 的,包含了许多 oc 的文件。
这些 oc 文件是从老项目里迁移过来的,老项目里用 prefixheader 引用了许多 helper ,所以我想继续在 swift 项目中的 oc 文件继续使用 prefixheader,不然每个 oc 源文件都要 import 好多 helper ,,,
现在我发现 prefixheader 好像在 swift 的项目里是无效的,请问如何解决,感谢!
1
loveuqian May 30, 2016 via iPhone
有用,做桥接
不过在同一命名空间下,每个 .swift 都是 pch |