MengBanView.h 804 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // MengBanView.h
  3. // LNManager
  4. //
  5. // Created by EchoShacolee on 2017/4/11.
  6. // Copyright © 2017年 lee. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef void(^MBBlock)(NSArray *array);
  10. @interface MengBanView : UIView
  11. //就是那种弹出选择框
  12. /**
  13. 初始化方法
  14. @param title 标题(没有传nil)
  15. @param btnsArr 按钮数组 or 混搭//1,button 2,selcdate 3,textfiled,
  16. @param block 选中确定回调,回调 @【@“12”,@“23”】
  17. @param isAllbtn 是否全是button
  18. @return self
  19. */
  20. -(instancetype)initWithTitileStr:(NSString *)title buttonsArray:(NSArray *)btnsArr isAllbtn:(BOOL)isAllbtn block:(MBBlock)block;
  21. //需要调用以下方法显示
  22. -(void)showView;
  23. //自定义内容视图
  24. //-(instancetype)initWithContentView:(UIView *)contentView;
  25. @end