Skip to content
Newer
Older
100644 23 lines (16 sloc) 676 Bytes
c955e63 @jivadevoe refactored the action out to a seperate class so it could be reused i…
authored Jan 12, 2011
1 //
2 // UIActionSheet+Blocks.h
3 // Shibui
4 //
5 // Created by Jiva DeVoe on 1/5/11.
6 // Copyright 2011 Random Ideas, LLC. All rights reserved.
7 //
8
a100446 @julianwa Import UIKit.h instead of Foundation.h
julianwa authored May 2, 2012
9 #import <UIKit/UIKit.h>
c955e63 @jivadevoe refactored the action out to a seperate class so it could be reused i…
authored Jan 13, 2011
10 #import "RIButtonItem.h"
11
12 @interface UIActionSheet (Blocks) <UIActionSheetDelegate>
13
14 -(id)initWithTitle:(NSString *)inTitle cancelButtonItem:(RIButtonItem *)inCancelButtonItem destructiveButtonItem:(RIButtonItem *)inDestructiveItem otherButtonItems:(RIButtonItem *)inOtherButtonItems, ... NS_REQUIRES_NIL_TERMINATION;
15
af567a3 Changed addButtonItem to return the button index, to match UIKit's im…
Cory Imdieke authored Oct 19, 2011
16 - (NSInteger)addButtonItem:(RIButtonItem *)item;
5590995 @gfontenot Added rudimentary addButtonItems method. Will need to make this cleaner.
gfontenot authored May 18, 2011
17
e91ffa8 Dismissal block is now called on any dismissal, not just button-less …
Jim Kubicek authored Feb 2, 2012
18 /** This block is called when the action sheet is dismssed for any reason.
737f097 Added a dismissal action block
Jim Kubicek authored Feb 1, 2012
19 */
5973be8 @slevin replace RISimpleAction with void block literals
slevin authored May 30, 2012
20 @property (copy, nonatomic) void(^dismissalAction)();
737f097 Added a dismissal action block
Jim Kubicek authored Feb 1, 2012
21
c955e63 @jivadevoe refactored the action out to a seperate class so it could be reused i…
authored Jan 13, 2011
22 @end
Something went wrong with that request. Please try again.