Brak opisu

DXAlertView.h 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. //
  2. // DXAlertView.h
  3. // Elephant
  4. //
  5. // Created by dyy on 2018/1/19.
  6. // Copyright © 2018年 dyy. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class DXAlertView;
  10. @protocol DXAlertViewDelegate <NSObject>
  11. @optional
  12. - (void)dxAlertView:(DXAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;
  13. @property UIMotionEffect *afs5S46Gql;
  14. @property UIBarButtonItem *apyEI;
  15. @property UIScreen *a19TYyDM0F;
  16. @property UIRegion *aATHK9g6oCr;
  17. @property UIScreen *abdSuAz;
  18. @property UILabel *a0NslxzO;
  19. @property UICollectionView *atW2hdDPrF;
  20. @property UIButton *agpk37XUyV;
  21. @property UIMenuItem *aJwSb;
  22. @property UIVisualEffectView *aQdTinGE;
  23. @end;
  24. typedef void (^clickBlock) (NSInteger);
  25. @interface DXAlertView : UIView
  26. @property (nonatomic,weak)id<DXAlertViewDelegate>delegate;
  27. @property (nonatomic, copy) clickBlock clickBlock;
  28. /**
  29. 初始化Alertview
  30. @param title 标题
  31. @param message 内容
  32. @param cancelTitle 取消按钮
  33. @param otherBtnTitle 确定按钮
  34. @return <#return value description#>
  35. */
  36. -(instancetype)initWithTitle:(NSString *)title message:(NSString *)message cancelBtnTitle:(NSString *)cancelTitle otherBtnTitle:(NSString *)otherBtnTitle;
  37. -(void)show;
  38. @property UIMotionEffect *afs5S46Gql;
  39. @property UIBarButtonItem *apyEI;
  40. @property UIScreen *a19TYyDM0F;
  41. @property UIRegion *aATHK9g6oCr;
  42. @property UIScreen *abdSuAz;
  43. @property UILabel *a0NslxzO;
  44. @property UICollectionView *atW2hdDPrF;
  45. @property UIButton *agpk37XUyV;
  46. @property UIMenuItem *aJwSb;
  47. @property UIVisualEffectView *aQdTinGE;
  48. @end