We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a4cad0 commit d149e10Copy full SHA for d149e10
1 file changed
SCLAlertView/SCLButton.h
@@ -11,6 +11,7 @@
11
@interface SCLButton : UIButton
12
13
typedef void (^ActionBlock)(void);
14
+typedef BOOL (^ValidationBlock)(void);
15
16
// Action Types
17
typedef NS_ENUM(NSInteger, SCLActionType)
@@ -24,6 +25,7 @@ typedef NS_ENUM(NSInteger, SCLActionType)
24
25
@property SCLActionType actionType;
26
27
@property (nonatomic, copy) ActionBlock actionBlock;
28
+@property (nonatomic, copy) ValidationBlock validationBlock;
29
30
@property id target;
31
0 commit comments