Zucchini is an awesome cucumber-like visual testing framework for iOS. It works in a pretty awesome way by compiling CoffeeScript down to UIAutomation-compliant Javascript, and then running the test with Instruments.app’s command-line tool. Also, As their site describes further, the whole system… Read more of Zucchini: iOS Testing Written in Ruby & CoffeeScript →
Oh man, I wish I had found Tim Oliver‘s writeup about this sooner (includes diagrams and sample code). I just wrote all of this code myself, and had to do all of my own research. Serves me right for not properly Googling. Pro Tip: Google everything before you begin coding a solution for a problem… Read more of Creating the iOS 5 UITableView Bevel Effect →
A brilliant article by my buddy Ted Howard on the trials and tribulations of properly naming pieces of your user interface. We needed a name for the button that brought up the stack editor. We wanted to convey to the user that launching the editor was a safe operation, that any changes they made… Read more of Connect, Discover, Edit, Inspect, Customize →
I’m absolutely in love with the technique David Hamrick lays out in this post. Instead of subclassing UIView every time we need to draw something what if we were to have one subclass that allowed us to pass in a block that performed the drawing code. So I’ve created a class called DrawView that… Read more of Using Blocks for Drawing →
Here’s a neat little write up (sample code included) from Florian Mielke of how to replicate Path 2.0‘s neat behavior of “attaching” a timestamp indicator that follows iOS’s built-in scroll indicator as you scroll. The basic idea is to add the info panel’s root layer as a sublayer to the… Read more of Attaching a UIView to the UIScrollViewIndicator →
Hiedi Utley has completely brought the awesome with a way to use desktop Safari’s WebKit inspector to debug iOS UIWebView objects: Wow! What a day! While researching debugging techniques for an upcoming training class I am teaching on PhoneGap, I stumbled over a couple of blogs about a private API… Read more of Remote Debugging UIWebView →
Andrew Munn points out a simple truth about Android vs. iOS graphics rendering: It’s because on iOS all UI rendering occurs in a dedicated UI thread with real-time priority. He also clarifies: Compositing and previously set-up animations—all the stuff that involves the Core Animation rendering… Read more of Android Graphics Truth Facts →
A fantastic little OS X app here for configuring CSS gradients. The interface of Gradient is really fantastic and pretty close to perfect of this simple task. This image was hosted on CloudApp, which shut down. It’s gone. You simply choose your color, and generate the CSS. It has all sorts of… Read more of Gradient.app →