Last Updated: February 25, 2016
·
531
· r-dent

Know which xib uses an image

Sometimes if you rename or replace an image in your XCode projects, you want to know which xibs you used it in.

You can use a simple console command to find them:
first cd to your project folder and then use

grep -i -r --include=*.xib "name_of_the_image.png" ./

to see a list of the xib files

as seen here: http://stackoverflow.com/a/11666397/1057968