Xcode 查询函数方法,竟然不区分大小写,挺好的。。

今天you third ios app 终于学习调试成功了,期间报错,如下,原因写的很清楚,说是没有重写方法。

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'loadFromContents:ofType:error: is a subclass responsibility but has not been overridden.'

其中 loadFromContents:就是方法名字,想锁定方法在哪个class中。在工具栏Find---》Find in project---输入想要查询的方法名字,进行检索,确实很快。问题解决,自己的方法名字打错了。。

原文地址:https://www.cnblogs.com/liqiwa/p/5311963.html