123456789101112131415161718192021222324 |
- //
- // LXActionSheet.h
- // LXActionSheetDemo
- //
- // Created by lixiang on 14-3-10.
- // Copyright (c) 2014年 lcolco. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @class LXActionSheet;
- @protocol LXActionSheetDelegate <NSObject>
- @optional
- - (void)didClickOnButtonIndex:(LXActionSheet*)sender buttonIndex:(int)buttonIndex;
- - (void)didClickOnDestructiveButton;
- - (void)didClickOnCancelButton;
- @end
- @interface LXActionSheet : UIView
- - (id)initWithTitle:(NSString *)title delegate:(id<LXActionSheetDelegate>)delegate cancelButtonTitle:(NSString *)cancelButtonTitle destructiveButtonTitle:(NSString *)destructiveButtonTitle otherButtonTitles:(NSArray *)otherButtonTitlesArray;
- - (void)showInView:(UIView *)view;
- @end
|