摘要:
关于盒子模式讲的比较详细的博客请 点击 阅读全文
posted @ 2015-11-06 17:10
WeberZhou
阅读(110)
评论(0)
推荐(0)
摘要:
block引用外部变量时,如果是这种形式,则只会造成对i的copy,不会造成引用。 int i = 0;brush.getCardInfo=^(NSDictionary*info){ NSLog("%d",i); }; 如果在int前加__block则在block中实现修改i的数值,这时... 阅读全文
posted @ 2015-11-06 15:36
WeberZhou
阅读(168)
评论(0)
推荐(0)

浙公网安备 33010602011771号