/**
1.^标识后表示block返回数值类型,()表示回传参数
2.block都要用copy修饰,复制到堆上,防止释放
*/
pragma mark - blcok作为属性
/*<没有返回值,没有参数的block/
@property (nonatomic, copy) void(^myBlock1)(void);
/*<有返回值,没有参数的block/
@property (nonatomic, copy) int(^myBlock2)(void);
@property (nonatomic,strong) NSArray<NSString *> *(^Array)(void);
/*<没有返回值,有参数的block/
@property (nonatomic, copy) void(^myBlock3)(int);
/*<有返回值,有参数的block/
@property (nonatomic, copy) CGFloat (^myBlock4)(int, int);
+(void)showAlartViewType:(NSInteger )type WithcompletionHandler:(void(^)(void))sucess;
+(void)excuteInMainQueue:(void (^)(void))completionBlock;
+(void)excuteInMainQueue:(void (^)(void))completionBlock dely:(NSInteger )dely;
/*<NSString * block返回;NSInteger tag,completionHandle返回/
+(void)excuteInmainQueue:(NSString * (^) (NSInteger tag))completionHandle;