摘要: 众所周知,我们在使用NSTimer或者CADisplayLink的时候,经常会导致引用它们的类不能正常释放,那是因为引用它们的类与它们之间产生了循环引用。看以下代码: self.timer = [NSTimer scheduledTimerWithTimeInterval:2.0 target:se 阅读全文
posted @ 2020-03-23 21:42 zbblogs 阅读(416) 评论(0) 推荐(0) 编辑