MGNewDTHeadView.h 961 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // MGNewDTHeadView.h
  3. // BuguLive
  4. //
  5. // Created by 宋晨光 on 2019/11/26.
  6. // Copyright © 2019 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "MGDynamicTopicModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @class MGNewDTHeadControl;
  12. @interface MGNewDTHeadView : UIView
  13. @property(nonatomic, strong) UIView *firstView;
  14. @property(nonatomic, strong) UIView *topicView;
  15. @property(nonatomic, strong) UIScrollView *titleScroll;
  16. @property(nonatomic, strong) NSMutableArray *tpicControlArr;
  17. @property(nonatomic, strong) NSMutableArray *topicArr;
  18. -(void)resetTopicModel:(NSArray *)arr;
  19. @property(nonatomic, copy) void (^MGNewDTHeadViewTopicBlock)(NSInteger index);
  20. @end
  21. @interface MGNewDTHeadControl : UIControl
  22. @property(nonatomic, strong) QMUIButton *topicTitleBtn;
  23. @property(nonatomic, strong) UIImageView *bgImgView;
  24. @property(nonatomic, strong) UILabel *timeL;
  25. -(void)resetControlModel:(MGDynamicTopicModel *)model;
  26. @end
  27. NS_ASSUME_NONNULL_END