美文网首页
MSWeakTimer

MSWeakTimer

作者: kakukeme | 来源:发表于2016-10-27 20:26 被阅读73次

MSWeakTimer

使用线程安全的 MSWeakTimer ,它不会对目标进行retain操作,避免循环引用
http://www.cnblogs.com/YouXianMing/p/3632998.html

你的NSTimer为什么释放不掉? (二) MSWeakTimer
http://www.jianshu.com/p/846f8486a9d0

dispatch_source_t 比 NSTimer 更准的定时器
http://www.jianshu.com/p/faa6ffe4fac3

iOS多线程的初步研究(九)-- dispatch源
http://www.cnblogs.com/sunfrog/p/3308766.html

dispatch source的异步特性有优化而非简单的通知队列,它还支持不同的数据源,包括socket,GCDAsyncSocket用的就是dispatch source。可以看成一种新的api方式,基于GCD的,而非有明显的优势吧。

ios中timer相关的延时调用需要注意的地方
https://my.oschina.net/xiguaa/blog/146424

runtime小技巧-实现BaseModel的description
http://www.jianshu.com/p/66ce34e38a5b

相关文章

网友评论

      本文标题:MSWeakTimer

      本文链接:https://www.haomeiwen.com/subject/wwssuttx.html