ZLJBlockPrinter打印Block的签名和虚拟内存地址

参考了论坛大神们的帖子,造了个轮子:

一行代码获取Block的签名和虚拟内存地址:

  NSString *blockDescription = [ZLJBlockPrinter printBlock:_shareBlock];
  NSLog(@"%@",blockDescription);

效果:

代码GitHub点这里,喜欢的话给我点个小星星哦
参考文章:http://iosre.com/t/block/6779

1 Like