This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# ------- | |
# Usage sh unusedImages.sh (jpg|png|gif) | |
# ------- | |
# Caveat | |
# 1 - | |
# NSString *imageName = [NSString stringWithFormat:@"image_%d.png", 1]; | |
# This script would incorrectly list these images as unreferenced. For example, you might have | |
# This script will incorrectly think image_1.png is unreferenced. | |
# 2 - If you have a method, or variable with the same name as the image it won't pick it up |