block使用
2018-08-13 本文已影响0人
梁苏珍
.h
@property (nonatomic, copy) void(^parseFailureBlock)(void);
.m
if (self.parseFailureBlock != nil) {
self.parseFailureBlock();
}
.h
@property (nonatomic, copy) void(^parseFailureBlock)(void);
.m
if (self.parseFailureBlock != nil) {
self.parseFailureBlock();
}