objective-c – 查看Objc文件的swift接口

前端之家收集整理的这篇文章主要介绍了objective-c – 查看Objc文件的swift接口前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在一个混合的ObjC Swift项目中工作.我目前正在覆盖在一个swift子类中用ObjC编写的函数.我想知道是否有一种快速方法来查看objC文件自动生成的Swift头文件,以便我可以在它们转换为swift后检查函数的语法.

解决方法

I’m wondering if there is a quick way to view the auto generated Swift header files for the objC

切换到跳转栏第一个菜单中的Generated Interface.

enter image description here

示例:之前:

enter image description here

后:

enter image description here

猜你在找的Xcode相关文章