search all files for a given word

1.8k Views Asked by At

I am using appcode to work on an xcode project. How do I search all source files in my project for a given keyword? The keyword need not be a method. Something like:

grep keyword *.m *.h

Thanks.

1

There are 1 best solutions below

2
On BEST ANSWER

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:

Find in Path

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