PBToolBar.h 653 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // PBToolBar.h
  3. // NgariUIComponents
  4. //
  5. // Created by LStar on 2022/1/20.
  6. //
  7. #import <UIKit/UIKit.h>
  8. @interface PBToolBar : UIView
  9. @property(nonatomic, strong) UIButton *previousButton;
  10. @property( nonatomic, strong) UIButton *nextButton;
  11. @property(nonatomic, strong) UIButton *doneButton;
  12. ///上一个
  13. @property (nonatomic,copy) void (^previousAction)(PBToolBar *toolBar);
  14. ///下一个
  15. @property (nonatomic,copy) void (^nextAction)(PBToolBar *toolBar);
  16. ///完成
  17. @property (nonatomic,copy) void (^doneAction)(PBToolBar *toolBar);
  18. @end
  19. @interface UIView (NDToolbarAddition)
  20. @property (readonly, nonatomic) PBToolBar *keyboardToolbar;
  21. @end