1234567891011121314151617181920212223242526272829303132333435363738 |
- //
- // WidgetFunctionView.h
- // ;ForStudent
- //
- // Created by 王智 on 2022/9/13.
- //
- #import <UIKit/UIKit.h>
- #import "WidgetDotView.h"
- @protocol MetronomeFunctionDelegate <NSObject>
- /** 加减号改变频率 */
- - (void)clickChangeSpeed:(int)speed;
- - (void)clickChangeBeat;
- @end
- NS_ASSUME_NONNULL_BEGIN
- @interface WidgetFunctionView : UIView
- @property (nonatomic, assign) KSMetronomeType currentMetronomeType;
- @property (nonatomic, assign) int speed;
- @property (weak, nonatomic) IBOutlet UIButton *signatureButton;
- @property (nonatomic, assign) CGFloat volumeRate;
- + (instancetype)shareInstance;
- /** 代理 */
- @property (nonatomic, weak) id <MetronomeFunctionDelegate> delegate;
- @end
- NS_ASSUME_NONNULL_END
|