Cannot form weak reference to instance (0x15919e00) of class ***. It is possible that this object was over-released, or is in the process of deallocation.
具體原因就是 lazy 和 weak 同時(shí)使用造成的
一般會(huì)出現(xiàn)在tableview的使用上,用lazy聲明了tableview,然后tableview的delegate和datasource都是默認(rèn)weak,在某些情況下就會(huì)造成崩潰。這是因?yàn)閘azy的加載機(jī)制問題,如果在lazy的初始化方法中使用了delegate和DataSource,就好像是在dealloc中使用了weak對象一樣,就會(huì)crash