为什么在block里需要使用weakself 简单几句说明白

2017-03-17  本文已影响601人  iOS开发章鱼哥
Paste_Image.png
执行操作:

      a =  A.init
      [a opeationA];
      [a dealloc]











|-----想一下会发生什么?
![Paste_Image.png](https://img.haomeiwen.com/i163125/6c430d10470c26dd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
上一篇 下一篇

猜你喜欢

热点阅读