SmartBar.h 654 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // SmartBar.h
  3. // smartRhino
  4. //
  5. // Created by niuzhen on 2019/12/14.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "SmartBarModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @protocol SmartBarDelegate;
  12. @interface SmartBar : UIView
  13. @property (nonatomic, weak) id<SmartBarDelegate> delegate;
  14. - (void)downBar;
  15. - (instancetype)initHeight:(CGFloat)height AddBarArray:(NSArray<SmartBarModel> *)array;
  16. @end
  17. @protocol SmartBarDelegate <NSObject>
  18. @optional
  19. - (void)didSelectBarWithType:(SmartBarType)type;
  20. - (void)didSelectBarAddBtnIsShow:(BOOL)isShow;
  21. - (void)didSelectBarKeyBtnIsShow:(BOOL)isShow;
  22. @end
  23. NS_ASSUME_NONNULL_END