MLeaksFinder
MLeaksFinder copied to clipboard
willDealloc中延迟执行的GCD中对weak Self为什么要使用strongSelf?
- __strong id strongSelf = weakSelf;的意义是什么?
- __strong id strongSelf = weakSelf;和__strong typeof(weakSelf) self = weakSelf;还不太一样,后者在GCD之后对weakSelf解除强引用,前者在GCD之前就不对weakSelf进行强引用了。