| 1234567891011121314151617181920212223242526272829303132 |
- //
- // CustomActionSheet.m
- // zhuxun
- //
- // Created by winsoft on 16/7/15.
- //
- //
- #import "CustomActionSheet.h"
- @implementation CustomActionSheet
- /*
- // Only override drawRect: if you perform custom drawing.
- // An empty implementation adversely affects performance during animation.
- - (void)drawRect:(CGRect)rect {
- // Drawing code
- }
- */
- - (instancetype)initWithTitle:(NSString *)title delegate:(id<UIActionSheetDelegate>)delegate object:(id)object indexPath:(NSIndexPath *)indexPath cancelButtonTitle:(NSString *)cancelButtonTitle destructiveButtonTitle:(NSString *)destructiveButtonTitle otherButtonTitles:(NSString *)otherButtonTitles, ...
- {
- if (self = [super initWithTitle:title delegate:delegate cancelButtonTitle:cancelButtonTitle destructiveButtonTitle:destructiveButtonTitle otherButtonTitles:otherButtonTitles, nil]) {
- //
- self.indexPath = indexPath;
- self.object = object;
- }
- return self;
- }
- @end
|