RVAlertViewWithBlocks allows to show common alertviews but using blocks for the buttons instead of assign a delegate.
The code is provided as a part of an example project.
Just copy the RVAlertViewWithBlocks class to your project.
This project is licensed under the terms of the MIT license.