Browse files

New Post

  • Loading branch information...
1 parent de24dd6 commit 41ab93ca95804a7767f48ede00b863928d999621 @enriquez committed Jan 26, 2013
@@ -0,0 +1,8 @@
+layout: post
+title: UIAlertView and UIActionSheet with Blocks and Target/Action Invocations
+The delegate methods for UIAlertView and UIActionSheet in my app were getting out of control, so I had to refactor. I came up with subclasses that added a block and target-action API. Instead of having a long delegate method to handle all the button actions, you can now specify the action in a block or a separate method.
+Check out [MEAlertView]( and [MEActionSheet](

0 comments on commit 41ab93c

Please sign in to comment.