BogoTimeLineListViewController.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // BogoTimeLineListViewController.h
  3. // BuguLive
  4. //
  5. // Created by 宋晨光 on 2021/9/18.
  6. // Copyright © 2021 xfg. All rights reserved.
  7. //
  8. #import "BGBaseViewController.h"
  9. #import "MGDynamicTopicModel.h"
  10. #import "BzoneLogic.h"
  11. @protocol BogoTimeLineDidScrollViewDelegate <NSObject>
  12. -(void)protocolTimeLineDidScrollView:(UIScrollView *)scrollView offset:(CGFloat)offset;
  13. -(void)didDynamicCollectionViewScrollView:(UIScrollView *)scrollView;
  14. -(void)reloadDynamicData;
  15. @end
  16. NS_ASSUME_NONNULL_BEGIN
  17. @interface BogoTimeLineListViewController : BGBaseViewController
  18. @property (nonatomic,strong) UITableView *tableView;
  19. @property (nonatomic,assign) NSInteger curPageIndex;
  20. @property(nonatomic, assign) MGDTHOMETYPE homeType;
  21. @property(nonatomic, weak) id<BogoTimeLineDidScrollViewDelegate>timeLineDelegate;
  22. -(instancetype)initWithIndexAct:(MGDTHOMETYPE)act withUID:(NSString *)toUid isHomePageFrame:(CGRect)homePageFrame;
  23. -(void)handleSearchEvent;
  24. @property(nonatomic, strong) MGDynamicTopicModel *topic;/**<话题*/
  25. @property(nonatomic, strong) NSString *toUid;
  26. @property(nonatomic, assign) CGRect homePageFrame;
  27. @property(nonatomic, weak) id<BogoTimeLineDidScrollViewDelegate> vDelegate;
  28. @property(nonatomic, assign) BOOL showConcertBtn;//个人主页的隐藏掉关注按钮
  29. -(void)reloadDynamicData;
  30. @end
  31. NS_ASSUME_NONNULL_END