forked from intsig-ios/ISBlockActionSheet-ISBlockAlertView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathISBlockActionSheet.h
22 lines (19 loc) · 857 Bytes
/
ISBlockActionSheet.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// ISBockActionSheet.h
//
// Created by Jimmy on 4/1/12.
// Copyright (c) 2012 Intsig Information Co., LTD. All rights reserved.
#import <UIKit/UIKit.h>
@interface ISBlockActionSheet : UIActionSheet
- (id) initWithTitle:(NSString *) title
cancelButtonTitle:(NSString *)cancelButtonTitle
cancelBlock:(void (^)(void))cancelBLock
destructiveButtonTitle:(NSString *) destructiveButtonTitle
destructiveBlock:(void (^)(void)) destructiveBlock
otherButtonTitles:(NSArray *)otherButtonTitles
otherButtonBlock:(void (^)(NSInteger index))otherButtonBlock;
@property (nonatomic, strong) void (^cancelBlock)(void);
@property (nonatomic, strong) void (^destructiveBlock)(void);
@property (nonatomic, strong) void (^otherButtonBlock)(NSInteger);
@end