A category for UIAlertView/UIActionSheet which allows you to use blocks to handle the pressed button events rather than implementing a delegate.