MGShowLiveWishView.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //
  2. // MGShowLiveWishView.h
  3. // BuguLive
  4. //
  5. // Created by 宋晨光 on 2019/12/14.
  6. // Copyright © 2019 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "MGLiveWishModel.h"
  10. @class MGShowLiveSubView;
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface MGShowLiveWishView : UIView<UIScrollViewDelegate>
  13. @property(nonatomic, strong) UIScrollView *scrollView;
  14. @property(nonatomic, strong) NSMutableArray *listArr;
  15. @property(nonatomic, assign) BOOL isDragging;
  16. @property(nonatomic, assign) BOOL isDecelerating;
  17. @property(nonatomic, strong) NSTimer *rotateTimer;
  18. @property(nonatomic, assign) CGPoint contentOffsetP;
  19. @property(nonatomic, assign) NSInteger currentPageIndex;
  20. @property(nonatomic, strong) MGShowLiveSubView *topWishView;
  21. @property(nonatomic, strong) MGShowLiveSubView *middleWishView;
  22. @property(nonatomic, strong) MGShowLiveSubView *bottomWishView;
  23. -(void)requestModel:(NSString *)roomIDStr;
  24. -(void)showView;
  25. -(void)relayoutFrameOfSubViews;
  26. @end
  27. @interface MGShowLiveSubView : UIView
  28. @property(nonatomic, strong) UIImageView *iconImgView;
  29. @property(nonatomic, strong) UILabel *nameL;
  30. @property(nonatomic, strong) UIView *tintLineView;
  31. @property(nonatomic, strong) UIView *bgLineView;
  32. @property(nonatomic, strong) UILabel *countL;
  33. @property(nonatomic, strong) MGLiveWishModel *model;
  34. -(void)requestModel;
  35. @end
  36. NS_ASSUME_NONNULL_END