| 12345678910111213141516171819202122232425262728293031323334 |
- //
- // MONewSquareTopMenuView.h
- // MiMoLive
- //
- // Created by SuperC on 2024/7/18.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface MONewSquareTopMenuView : UIScrollView
- /** 标题颜色, 需要在 titleArray 设置之前设置*/
- @property (nonatomic, strong) UIColor *titleColor;
- @property (nonatomic, strong) UIColor *selectColor;
- @property (nonatomic, strong) UIFont *selectFont;
- /** 菜单标题数组 */
- @property (nonatomic, strong) NSArray *titleArray;
- /** 当前选择的按钮的index */
- @property (nonatomic, assign) NSInteger currentButtonIndex;
- @property (nonatomic, strong) UIImage *lineImg;
- /** 菜单按钮点击时回调block, 所点按钮的index */
- @property (nonatomic, copy) void(^clickBtnBlock)(NSInteger index);
- @end
- NS_ASSUME_NONNULL_END
|