MOSquareBaseCollectionView.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //
  2. // MOSquareBaseCollectionView.h
  3. // MiMoLive
  4. //
  5. // Created by SuperC on 2024/7/31.
  6. //
  7. #import <UIKit/UIKit.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. typedef void(^MOHomePageBeginScrollBlock)(void);
  10. @interface MOSquareBaseCollectionView : UIView<JXCategoryListContentViewDelegate>
  11. /** 是否为关注界面 */
  12. @property (nonatomic, assign) BOOL isFollow;
  13. @property (nonatomic, weak) UIViewController *homeVC;
  14. /** 关注页面数据 房间类型(0=全部,1=视频直播,2=语音直播) */
  15. @property (nonatomic, assign) NSInteger roomType;
  16. /** 关注页面数据 排序类型(1=最新关注,2=最近常看)*/
  17. @property (nonatomic, assign) NSInteger sortType;
  18. /** 游标 */
  19. @property (nonatomic, copy) NSString *next;
  20. /** 国家 */
  21. @property (nonatomic, copy) NSString *countryString;
  22. /** 查询类型(0=全部,1=最新直播间查询,2=视频直播,3=语音直播,4=新人主播,5=附近查询,6=家族查询) */
  23. @property (nonatomic, assign) NSInteger searchType;
  24. /** 经度 */
  25. @property (nonatomic, assign) double lat;
  26. /** 维度 */
  27. @property (nonatomic, assign) double lng;
  28. @property (nonatomic, assign) BOOL isNeedWillRefresh;
  29. @property (nonatomic, copy) MOHomePageBeginScrollBlock beginScrollBlock;//首页滑动block
  30. - (instancetype)initWithFrame:(CGRect)frame AndIsFollow:(BOOL)follow;
  31. - (void)toBeginRefresh;
  32. - (void)showEnterRoomGuideView;
  33. @end
  34. NS_ASSUME_NONNULL_END