Since when does Xcode no longer require forward method declarations and why?

£可爱£侵袭症+ 提交于 2019-12-05 07:27:47
Clay Bridges

This has definitely changed, and it looks like such forward declarations are not required in Xcode 4.3 & later. Cf. Private Methods in Objective-C, in Xcode 4.3 I no longer need to declare them in my implementation file ?.

In my XCode 4.2, the warning is still there, moreover, when ARC is enabled, it is an error, not just a warning.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!