CommentSetView.h 809 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // CommentSetView.h
  3. // TheoryNetwork
  4. //
  5. // Created by tederen on 2019/9/26.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. #define ThumbTag 997
  11. #define CollectTag 998
  12. #define SharedTag 999
  13. @protocol CommentSetViewDelegate <NSObject>
  14. - (void)commentInputTouch;
  15. - (void)functionTouch:(TDButton *)button;
  16. - (void)commentNunberClick;
  17. @end
  18. @interface CommentSetView : UIView
  19. @property (nonatomic, strong) TDButton *thumbButton;
  20. @property (nonatomic, strong) TDButton *collectButton;
  21. @property (nonatomic, strong) TDButton *sharedButton;
  22. @property (nonatomic, strong) TDButton *commentNumberBtn;
  23. @property (nonatomic, strong) UILabel *numLabel;
  24. @property (nonatomic, weak) id<CommentSetViewDelegate> delegate;
  25. @end
  26. NS_ASSUME_NONNULL_END