JXMenuView.h 648 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // JXMenuView.h
  3. // shiku_im
  4. //
  5. // Created by 1 on 2018/9/6.
  6. // Copyright © 2018年 Reese. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class JXMenuView;
  10. @protocol JXMenuViewDelegate <NSObject>
  11. - (void)didMenuView:(JXMenuView *)menuView WithButtonIndex:(NSInteger)index;
  12. @end
  13. @interface JXMenuView : UIView
  14. @property (nonatomic, weak) id<JXMenuViewDelegate>delegate;
  15. @property (nonatomic, strong) NSArray *titles;
  16. /**
  17. 暂为weiboVC 专用控件
  18. Point (.x 暂时无效)
  19. */
  20. // 创建
  21. - (instancetype)initWithPoint:(CGPoint)point Title:(NSArray *)titles Images:(NSArray *)images;
  22. // 隐藏
  23. - (void)dismissBaseView;
  24. @end