1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- //
- // CCActionSheet.h
- // YouHuiProject
- //
- // Created by 小花 on 2018/1/25.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @protocol CCActionSheetDelegate;
- @interface CCActionSheet : UIView<UITableViewDataSource,UITableViewDelegate>
- {
- UITableView *_tableView;
- UIView *_sheetView;
- UIView *_alphaView;
- }
- @property (nonatomic, weak) id<CCActionSheetDelegate> delegate;
- @property (nonatomic, assign) NSInteger cancelButtonIndex;
- @property (nonatomic, assign) NSInteger destructiveButtonIndex;
- @property (nonatomic, copy) NSString *title;
- @property (nonatomic, copy) NSString *cancelButtonTitle;
- @property (nonatomic, copy) NSString *destructiveButtonTitle;
- @property (nonatomic, strong) NSMutableArray *otherButtonTitles;
- @property (nonatomic, readonly) NSInteger numberOfButtons;
- - (CCActionSheet *)initWithTitle:(NSString *)title delegate:(id<CCActionSheetDelegate>)delegate cancelButtonTitle:(NSString *)cancelButtonTitle destructiveButtonTitle:(NSString *)destructiveButtonTitle otherButtonTitles:(NSArray *)otherButtonTitles;
- - (void)showInView:(UIView *)view;
- @property UIFontWeight *asFlfu5;
- @property UIActivity *a2Unyb;
- @property UIBarButtonItem *avaIfQ2ZX4;
- @property UIFont *agYxW;
- @property UIEdgeInsets *a1hYHeWoT;
- @property UIView *aIJbf;
- @property UIView *aQfyMbeHm;
- @property UIMotionEffect *ajG5RSAOyK;
- @property UIDocument *ah6Id;
- @property UIInputView *ajkRAtxc8;
- @end
- @protocol CCActionSheetDelegate <NSObject>
- @optional
- - (void)actionSheet:(CCActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex;
- @property UIFontWeight *asFlfu5;
- @property UIActivity *a2Unyb;
- @property UIBarButtonItem *avaIfQ2ZX4;
- @property UIFont *agYxW;
- @property UIEdgeInsets *a1hYHeWoT;
- @property UIView *aIJbf;
- @property UIView *aQfyMbeHm;
- @property UIMotionEffect *ajG5RSAOyK;
- @property UIDocument *ah6Id;
- @property UIInputView *ajkRAtxc8;
- @end
|