// // ZCShareSheetView.h // XLChat // // Created by 张灿 on 2017/11/15. // Copyright © 2017年 张灿. All rights reserved. // #import typedef void(^shareBtnBlock)(NSString*); @interface ZCShareActionBtn : NSObject @property (nonatomic,copy)shareBtnBlock block; @property (nonatomic,copy)NSString *title; @property (nonatomic,strong)UIImage *image; + (ZCShareActionBtn *)actionWithTitle:(NSString *)title image:(UIImage*)image andblock:(shareBtnBlock)block; @end @interface ZCShareSheetView : UIView @property(nonatomic,strong)UIWindow* alertWindow; //这里只需要设置好每个JWAlertAction的action再以block回调过去就可以了,调价到arr数组中 - (id)initWithTitle:(NSString *)title andShowCancelButton:(BOOL)show andAction:(NSArray *)arr column:(NSInteger)column; - (void)show; - (void)hide; @end