ChatMoreView.h 717 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // ChatMoreView.h
  3. // BuguLive
  4. //
  5. // Created by 朱庆彬 on 2017/8/15.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #define kChatOtherViewHight 234.0f
  10. @protocol ChatMoreViewDelegate <NSObject>
  11. @optional
  12. - (void)chatMoreViewButton:(NSInteger)btnIndex; //点击了某个按钮
  13. -(void)clickHide;
  14. @end
  15. /**
  16. * 更多view
  17. */
  18. @interface ChatMoreView : UIView
  19. @property (nonatomic, strong) UIView *shadowView;
  20. - (void)show:(UIView *)superView;
  21. - (void)hide;
  22. @property (nonatomic, strong) NSMutableArray *btnArray;
  23. @property (nonatomic, weak) id<ChatMoreViewDelegate> delegate;
  24. - (void)initWithBtnArray:(NSMutableArray *)array;
  25. - (void)setGiftView:(BOOL)hidden;
  26. @end