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

Official UIAlertView-Blocks repository