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
Written by Roman Gille
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Xcode
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#