.h文件
typedef void (^TestBlock)();
@property (nonatomic , strong) TestBlock testBlock;
.m文件
_testBlock();
对方回调的block
v1.testBlock= ^() { };
.h文件
typedef void (^TestBlock)();
@property (nonatomic , strong) TestBlock testBlock;
.m文件
_testBlock();
对方回调的block
v1.testBlock= ^() { };
转载于:https://www.cnblogs.com/xuxisong/p/7126698.html