block爲用了__weak 和__strong 就一定是安全的?

曾幾何時,爲了避免循環引用,都知道加__weak 和 __strong. 通常都喜歡配對來寫如 __weak typeof(self) wself = self; [xxxx founction:(^(){         __strong typeof(self) strong self = wself;  })]; 但真的安全了嗎?所謂的安全或不安全都是建立在一定的條件下的,只有碰到了,才能更
相關文章
相關標籤/搜索