BGBaseView.h 1021 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //
  2. // BGBaseView.h
  3. // BuguLive
  4. //
  5. // Created by xfg on 2017/6/17.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class BGNoContentView;
  10. @interface BGBaseView : UIView
  11. /**
  12. 网络请求
  13. */
  14. @property (nonatomic, strong) NetHttpsManager *httpsManager;
  15. /**
  16. 全局参数控制
  17. */
  18. @property (nonatomic, strong) GlobalVariables *BuguLive;
  19. /**
  20. 指示器
  21. */
  22. @property (nonatomic, strong) MBProgressHUD *proHud;
  23. /**
  24. 无内容视图
  25. */
  26. @property (nonatomic, strong) BGNoContentView *noContentView;
  27. /**
  28. 显示指示器
  29. */
  30. - (void)showMyHud;
  31. /**
  32. 隐藏指示器
  33. */
  34. - (void)hideMyHud;
  35. /**
  36. 显示 无内容视图
  37. */
  38. - (void)showNoContentViewOnView:(UIView *)view;
  39. /**
  40. 隐藏 无内容视图
  41. */
  42. - (void)hideNoContentViewOnView:(UIView *)view;
  43. @property (nonatomic, strong) UIView *shadowViews;
  44. @property(nonatomic, copy) void (^clickShadowBlock)(BOOL click);
  45. - (void)show:(UIView *)superView;
  46. - (void)show:(UIView *)superView frame:(CGRect)frame;
  47. - (void)hide;
  48. @end