ZCNavMenuView.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. //
  2. // ZCNavMenuView.h
  3. // LiveChat
  4. //
  5. // Created by 张灿 on 2018/9/7.
  6. // Copyright © 2018年 caicai. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @protocol ZCNavMenuViewDelegate <NSObject>
  10. - (void)youpaifnavBtnClick:(NSInteger)index;
  11. @end
  12. @interface ZCNavMenuView : UIView
  13. @property (nonatomic,weak)id <ZCNavMenuViewDelegate> delegate;
  14. @property (nonatomic,strong) UIView* selectView;
  15. - (instancetype)initWithFrame:(CGRect)frame TitleArr:(NSArray *)arr normalFont:(UIFont*)font normalColor:(UIColor*)normalColor selectFont:(UIFont*)selectFont selectColor:(UIColor*)selectcolor selectLineColor:(UIColor*)selectLineColor currentIndex:(NSInteger)currentIndex isBackground:(BOOL)isBackground;
  16. - (instancetype)initWithFrame:(CGRect)frame TitleArr:(NSArray *)arr normalFont:(UIFont*)font normalColor:(UIColor*)normalColor selectFont:(UIFont*)selectFont selectColor:(UIColor*)selectcolor selectLineColor:(UIColor*)selectLineColor currentIndex:(NSInteger)currentIndex;
  17. - (void)changeCurrentSelectButton:(NSInteger)index;
  18. /* bgColor */
  19. @property (strong, nonatomic) UIColor *bgColor;
  20. @end