Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 5 files changed
  • 0 comments
  • 1 contributor
8  _posts/2013-01-26-uialertview-and-uiactionsheet-with-blocks-and-target-action-invocations.md
Source Rendered
... ...
@@ -0,0 +1,8 @@
  1
+---
  2
+layout: post
  3
+title: UIAlertView and UIActionSheet with Blocks and Target/Action Invocations
  4
+---
  5
+
  6
+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.
  7
+
  8
+Check out [MEAlertView](http://github.com/enriquez/MEAlertView) and [MEActionSheet](http://github.com/enriquez/MEAlertView)
0  font/fontawesome-webfont.eot 100755 → 100644
File mode changed
0  font/fontawesome-webfont.svg 100755 → 100644
File mode changed
0  font/fontawesome-webfont.ttf 100755 → 100644
File mode changed
0  font/fontawesome-webfont.woff 100755 → 100644
File mode changed

No commit comments for this range

Something went wrong with that request. Please try again.