ScrollMenuView.h 577 B

1234567891011121314151617181920212223242526272829
  1. #import <UIKit/UIKit.h>
  2. @protocol ScrollMenuViewDelegate <NSObject>
  3. -(void)scrollMenuViewAtIndexPath:(NSInteger)index;
  4. @end
  5. @interface ScrollMenuView : UIView
  6. @property(nonatomic,copy)NSArray <NSString *>*titleArray;
  7. @property(nonatomic,copy)NSArray <UIView *>*subArray;
  8. @property(nonatomic,strong) UIColor *backColor;
  9. @property(nonatomic,strong) UIColor *normalColor;
  10. @property(nonatomic,strong) UIColor *selectColor;
  11. @property(nonatomic,assign) id<ScrollMenuViewDelegate> delegate;
  12. -(void)setScrollMenuView;
  13. -(void)changeViewWithAnimate:(NSInteger)index;
  14. @end