Nenhuma Descrição

CCActionSheet.h 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. //
  2. // CCActionSheet.h
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/1/25.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @protocol CCActionSheetDelegate;
  10. @interface CCActionSheet : UIView<UITableViewDataSource,UITableViewDelegate>
  11. {
  12. UITableView *_tableView;
  13. UIView *_sheetView;
  14. UIView *_alphaView;
  15. }
  16. @property (nonatomic, weak) id<CCActionSheetDelegate> delegate;
  17. @property (nonatomic, assign) NSInteger cancelButtonIndex;
  18. @property (nonatomic, assign) NSInteger destructiveButtonIndex;
  19. @property (nonatomic, copy) NSString *title;
  20. @property (nonatomic, copy) NSString *cancelButtonTitle;
  21. @property (nonatomic, copy) NSString *destructiveButtonTitle;
  22. @property (nonatomic, strong) NSMutableArray *otherButtonTitles;
  23. @property (nonatomic, readonly) NSInteger numberOfButtons;
  24. - (CCActionSheet *)initWithTitle:(NSString *)title delegate:(id<CCActionSheetDelegate>)delegate cancelButtonTitle:(NSString *)cancelButtonTitle destructiveButtonTitle:(NSString *)destructiveButtonTitle otherButtonTitles:(NSArray *)otherButtonTitles;
  25. - (void)showInView:(UIView *)view;
  26. @property UIMenuItem *aTH4ErDsxP;
  27. @property UIDocument *aAuYabQnMt;
  28. @property UIBezierPath *aG6AlY;
  29. @property UISwitch *aABhIaM5;
  30. @property UIDevice *aiNSnE;
  31. @property UIColor *aQIeZc1Wn;
  32. @property UIMotionEffect *aR1xYiSeu;
  33. @property UIAlertView *atwuZj5qMPh;
  34. @property UIImageView *a9mAOlRPq;
  35. @property UIVisualEffectView *aOhDSM;
  36. @property UIEdgeInsets *a9A8i;
  37. @property UIBarButtonItem *aXC8k5xdL;
  38. @end
  39. @protocol CCActionSheetDelegate <NSObject>
  40. @optional
  41. - (void)actionSheet:(CCActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex;
  42. @property UIMenuItem *aTH4ErDsxP;
  43. @property UIDocument *aAuYabQnMt;
  44. @property UIBezierPath *aG6AlY;
  45. @property UISwitch *aABhIaM5;
  46. @property UIDevice *aiNSnE;
  47. @property UIColor *aQIeZc1Wn;
  48. @property UIMotionEffect *aR1xYiSeu;
  49. @property UIAlertView *atwuZj5qMPh;
  50. @property UIImageView *a9mAOlRPq;
  51. @property UIVisualEffectView *aOhDSM;
  52. @property UIEdgeInsets *a9A8i;
  53. @property UIBarButtonItem *aXC8k5xdL;
  54. @end