Monday, November 26, 2012

9-Patch on iOS

9-Patches are pretty common for Android Developers.  Furthermore, they're absolute essential for making graphics on the platform.  A while back to save designers time, TuneWiki for iOS used them for all of our stretchable assets.  Unfortunately, iOS does not have native support for it, and there's really only one library.   I used this 9-patch library for iOS with my modifications for @2x support.  I'd like to personally comment that it turned out to be a terrible idea.  The overhead for image processing we experienced slowed our app down considerably--so much so that every conversation about performance ended in "Could we please just have our artists make an extra set of images?".  Thus, we stopped using it.  The issue relies in having to extract 9 pieces from the original image, and redraw each one of them (5 pieces with modifications).  Despite me having contributed to the project, I recommend that no one consider using it.  Just demand your artists create separate images and use -[UIImage stretchableImageWithLeftCapWidth:topCapHeight:]

Monday, November 19, 2012

Bad App Reviews

Launched a new site the other day: Bad App Reviews.   Basically, I'm going to be cataloging all the bad app reviews for apps on Google Play.  If anyone finds it interesting, I'll probably expand to the iOS App Store as well.  So far it's provided somewhat valuable comedic value when looking up competitors :)