Updated OBShapedButton

I finally found the time to fix some embarrassing bugs in my OBShapedButton class to create non-rectangular tap targets on iOS, which I introduced in October 2009.

The updated code should now also work with non-symmetrical button shapes and on the iPhone 4’s retina display. Thanks to all of you who reported bugs and fixes.

The demo project for OBShapedButton
The demo project for OBShapedButton.