Add script for xcode

https://gist.github.com/subdigital/5420709
http://nsscreencast.com/episodes/63-from-scratch