deinit方法检测内存泄露 2017-03-24 本文已影响0人 Still4ever幺惊云 //(deinit未调用,则内存泄露) deinit{ print("对象销毁,没有内存泄露:\(self.classForCoder)") } print没有执行 代表内存泄露