Generating App Store promo codes with itc.cli

If you are like me and have an app available in versions for iPad, iPhone, and Mac, you know how tedious it is to create promo codes for the whole suite of apps. There needed to be a better way to quickly create a promo code for each app than the endless clicking and waiting game in iTunes Connect.

NSJSONSerialization category to read JSON with comments

Before Apple added NSJSONSerialization in iOS 5, I’ve been using JSONKit to parse commented JSON configuration files in Textastic. I’ve been wanting to replace it with NSJSONSerialization for some time now. The fact that JSONKit’s direct access of the isa pointer made Textastic crash on OS X 10.10 Yosemite finally made me do the switch.