TuningForkSettingView.h 532 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // TuningForkSettingView.h
  3. // KulexiuForStudent
  4. //
  5. // Created by 王智 on 2022/10/20.
  6. //
  7. #import <UIKit/UIKit.h>
  8. typedef void(^ForkSettingCallback)(NSInteger frequence, BOOL isSure);
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface TuningForkSettingView : UIView
  11. @property (nonatomic, assign) BOOL isFallingTone; // 是否降调
  12. @property (nonatomic, assign) NSInteger A4Frequence; // A4频率
  13. + (instancetype)shareInstance;
  14. - (void)forkSettingAction:(ForkSettingCallback)callback;
  15. - (void)showView;
  16. @end
  17. NS_ASSUME_NONNULL_END