Written by Cory Alder
Designed to be used as a build script from Xcode, deretina.py automatically scales all retina graphics (denoted by @2x.png) to half size.
depending on your preference, set should_overwrite_existing_files. script expects images to be located in $SOURCE_ROOT/Assets/ (change that on line 33)
Place in $SOURCE_ROOT, and add a run-script build step Make sure the run script happens before "copy bundle resources"
In this case, the asset directory is
/usr/bin/python $SOURCE_ROOT/deretina.py Assets
(if you know how to run python direct from Xcode, let me know. firstname.lastname@example.org)