Browse files

Edited README to include info for addButtonItem method

  • Loading branch information...
1 parent b64b4dd commit 67bb8de46d6d1b681623eca91ce786040cc53099 @gfontenot gfontenot committed May 31, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0
@@ -56,6 +56,16 @@ Once you've created these, you simply initialize your UIAlertView using the init
Again, this is designed to be fire and forget, so you initialize it, show it, and release it. It'll take care of cleaning up after itself.
+You can also add a RIButtonItem to the UIAlertView after initialization, just like you normally would:
+ [alertView addButtonItem:deleteItem];
+This is useful if building an UIAlertView, or UIActionSheet dynamically from an Array:
+ for (RIButtonItem *item in buttonItemArray) {
+ [alertView addButtonItem:item];
+ }
That's it!
The UIActionSheet category works virtually the same as the UIAlertView. Just check out the header for the initializer you need to use. It's very straightforward.

0 comments on commit 67bb8de

Please sign in to comment.