Classification_view.h 652 B

12345678910111213141516171819202122
  1. //
  2. // Classification_view.h
  3. // iphoneLive
  4. //
  5. // Created by bugu on 2018/12/6.
  6. // Copyright © 2018年 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @protocol ClassificationDelegate <NSObject>
  10. - (void)didSelectWith:(id)obj andxiabiao:(NSInteger)index;
  11. - (void)showAllClass;
  12. @end
  13. @interface Classification_view : UIView
  14. @property (nonatomic,strong)UIScrollView *scrollview;
  15. @property (nonatomic,weak)id<ClassificationDelegate>delegate;
  16. @property (nonatomic,copy)NSArray *data_ary;
  17. - (void)setClassWithAry:(NSArray *)ary;
  18. - (void)selectWithIndex:(NSInteger )index;
  19. + (CGFloat)backWidthWithNeiRong:(NSString *)msg andFont:(UIFont *)font;
  20. @end