GiftGroupView.h 734 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // GiftGroupView.h
  3. // BuguLive
  4. //
  5. // Created by 范东 on 2019/1/28.
  6. // Copyright © 2019 xfg. All rights reserved.
  7. // 礼物分组视图
  8. #import "BGBaseView.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. typedef void(^clickGiftGroupBtnBlock)(NSInteger index);
  11. @interface GiftGroupView : UIControl
  12. //BGBaseView
  13. /**
  14. 初始化方法
  15. @param frame frame
  16. @param titleArray 标题数组
  17. @return 实例
  18. */
  19. - (instancetype)initWithFrame:(CGRect)frame TitleArray:(NSArray *)titleArray;
  20. - (void)setClickGiftGroupBtnBlock:(clickGiftGroupBtnBlock)clickGiftGroupBtnBlock;
  21. /**
  22. 设置当前选中index
  23. @param index index
  24. */
  25. - (void)resetIndexs:(NSInteger)index;
  26. //@property(nonatomic, assign) NSInteger indexs;
  27. @end
  28. NS_ASSUME_NONNULL_END