我正在使用 appcode 来处理 xcode 项目。如何在我的项目中的所有源文件中搜索给定的关键字?关键字不必是方法。就像是:
grep keyword *.m *.h
谢谢。
我正在使用 appcode 来处理 xcode 项目。如何在我的项目中的所有源文件中搜索给定的关键字?关键字不必是方法。就像是:
grep keyword *.m *.h
谢谢。
To perform a search across all the project files in the AppCode use Edit | Find | Find in Path. In the Text to find field put your keyword, in the File mask(s) field put the extensions separated by comma:

Note that the scope is set to the Whole project, you can limit it if needed.